setup changed for vue3

pull/631/head
Tuğçe Küçükoğlu 2020-11-09 14:38:37 +03:00
parent f5434c89a5
commit f0baf04c58
1 changed files with 3 additions and 3 deletions

View File

@ -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>