primevue-mirror/doc/cdn/PluginDoc.vue

24 lines
630 B
Vue
Raw Normal View History

2024-01-23 20:21:13 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>
PrimeVue plugin is required to be installed as an application plugin to set up the default <NuxtLink to="/configuration">configuration</NuxtLink>. The plugin is lightweight, only sets up the configuration object without affecting your
application.
</p>
</DocSectionText>
2024-01-30 08:16:35 +00:00
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
2024-01-23 20:21:13 +00:00
</template>
<script>
export default {
data() {
return {
code: {
basic: `
2024-05-26 20:42:06 +00:00
app.use(PrimeVue.Config);
2024-01-23 20:21:13 +00:00
`
}
};
}
};
</script>