Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script: CDN Script Fail #2642

Closed
yulinliu opened this issue Jun 7, 2022 · 1 comment
Closed

Script: CDN Script Fail #2642

yulinliu opened this issue Jun 7, 2022 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@yulinliu
Copy link

yulinliu commented Jun 7, 2022

Describe the bug

CDN Script can not read primevue.config

https://unpkg.com/primevue@3.13.0/core/core.min.js

Reproducer

No response

PrimeVue version

3.13.0

Vue version

3.x

Language

ES5

Build / Runtime

CDN Script

Browser(s)

Chrome

Steps to reproduce the behavior

    <link href="https://unpkg.com/primevue/resources/themes/lara-light-indigo/theme.css" rel="stylesheet">
    <link href="https://unpkg.com/primevue/resources/primevue.min.css" rel="stylesheet">
    <link href="https://unpkg.com/primeicons/primeicons.css" rel="stylesheet">

    <script src="https://unpkg.com/vue@next"></script>
    <script src="https://unpkg.com/primevue/core/core.min.js"></script>
    <script src="https://unpkg.com/primevue/slider/slider.min.js"></script>

<body>
    <div id="app">
        <p-slider v-model="val"></p-slider>
        <h6>{{val}}</h6>
    </div>

    <script>
        const {createApp, ref} = Vue;

        const App = {
            setup() {
                const val = ref(null);

                return {
                    val
                };
            },
            components: {
                'p-slider': primevue.slider
            }
        };

        createApp(App).use(primevue.config.default).mount("#app");
    </script>
</body>

Expected behavior

No response

@yulinliu yulinliu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jun 7, 2022
@tugcekucukoglu tugcekucukoglu modified the milestone: 3.13.1 Jun 7, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Jun 7, 2022
@tugcekucukoglu
Copy link
Member

It's fixed for v.3.13.1.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants