34 lines
622 B
Vue
34 lines
622 B
Vue
<template>
|
|
<DocSectionText v-bind="$attrs">
|
|
<p>Configure the module to use a theme like Aura.</p>
|
|
<DocSectionCode :code="code" importCode hideToggleCode hideStackBlitz />
|
|
</DocSectionText>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
code: {
|
|
basic: `
|
|
import Aura from '@primevue/themes/aura';
|
|
|
|
export default defineNuxtConfig({
|
|
modules: [
|
|
'@primevue/nuxt-module'
|
|
],
|
|
primevue: {
|
|
options: {
|
|
theme: {
|
|
preset: Aura
|
|
}
|
|
}
|
|
}
|
|
})
|
|
`
|
|
}
|
|
};
|
|
}
|
|
};
|
|
</script>
|