Update setup docs to include app
parent
58ce2c01ac
commit
e06d20b2c2
|
@ -29,6 +29,7 @@ npm install primeicons --save
|
|||
<pre v-code.script>
|
||||
<code>
|
||||
import {createApp} from 'vue';
|
||||
import App from './App.vue';
|
||||
import PrimeVue from 'primevue/config';
|
||||
const app = createApp(App);
|
||||
|
||||
|
@ -40,6 +41,7 @@ app.use(PrimeVue);
|
|||
<pre v-code.script>
|
||||
<code>
|
||||
import {createApp} from 'vue';
|
||||
import App from './App.vue';
|
||||
import PrimeVue from 'primevue/config';
|
||||
import Dialog from 'primevue/dialog';
|
||||
const app = createApp(App);
|
||||
|
|
Loading…
Reference in New Issue