primevue-mirror/doc/configuration/ImportDoc.vue

22 lines
519 B
Vue

<template>
<DocSectionText v-bind="$attrs">
<p>Configuration is managed by the <i>PrimeVue</i> instance imported from <i>primevue/config</i>.</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `import PrimeVue from 'primevue/config';
const app = createApp(App);
app.use(PrimeVue);`
}
};
}
};
</script>