primevue-mirror/doc/configuration/ImportDoc.vue

23 lines
520 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>