23 lines
516 B
Vue
23 lines
516 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 import hideCodeSandbox hideStackBlitz />
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
code: {
|
|
basic: `
|
|
import PrimeVue from 'primevue/config';
|
|
const app = createApp(App);
|
|
|
|
app.use(PrimeVue);`
|
|
}
|
|
};
|
|
}
|
|
};
|
|
</script>
|