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/primevue.min.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>
|
||||
|
||||
<div id="app">
|
||||
|
@ -66,11 +66,11 @@ app.component('Dialog', Dialog);
|
|||
</div>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
Vue.createApp({
|
||||
components: {
|
||||
'p-calendar': calendar
|
||||
}
|
||||
}).$mount('#app')
|
||||
}).mount('#app')
|
||||
</script>
|
||||
|
||||
</code></pre>
|
||||
|
|
Loading…
Reference in New Issue