setup changed for vue3
parent
f5434c89a5
commit
f0baf04c58
|
@ -58,7 +58,7 @@ app.component('Dialog', Dialog);
|
||||||
<link href="https://unpkg.com/primevue/resources/themes/saga-blue/theme.css " rel="stylesheet">
|
<link href="https://unpkg.com/primevue/resources/themes/saga-blue/theme.css " rel="stylesheet">
|
||||||
<link href="https://unpkg.com/primevue/resources/primevue.min.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">
|
<link href="https://unpkg.com/primeicons/primeicons.css " rel="stylesheet">
|
||||||
<script src="https://unpkg.com/vue"></script>
|
<script src="https://unpkg.com/vue@next"></script>
|
||||||
<script src="https://unpkg.com/primevue/components/calendar/calendar.umd.min.js"></script>
|
<script src="https://unpkg.com/primevue/components/calendar/calendar.umd.min.js"></script>
|
||||||
|
|
||||||
<div id="app">
|
<div id="app">
|
||||||
|
@ -66,11 +66,11 @@ app.component('Dialog', Dialog);
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
new Vue({
|
Vue.createApp({
|
||||||
components: {
|
components: {
|
||||||
'p-calendar': calendar
|
'p-calendar': calendar
|
||||||
}
|
}
|
||||||
}).$mount('#app')
|
}).mount('#app')
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
Loading…
Reference in New Issue