feat(global): add dependencies for i18n, select theme
This commit is contained in:
@@ -1,12 +1,31 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
import Aura from '@primeuix/themes/aura';
|
||||
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
|
||||
devtools: { enabled: true },
|
||||
|
||||
modules: [
|
||||
'@nuxt/fonts',
|
||||
'@nuxt/icon',
|
||||
'@nuxt/image',
|
||||
'@nuxt/scripts',
|
||||
'@nuxt/test-utils',
|
||||
'@primevue/nuxt-module',
|
||||
'@nuxtjs/i18n',
|
||||
],
|
||||
|
||||
primevue: {
|
||||
autoImport: true,
|
||||
options: {
|
||||
theme: {
|
||||
preset: Aura,
|
||||
},
|
||||
ripple: true,
|
||||
},
|
||||
},
|
||||
|
||||
fonts: {
|
||||
families: [{ name: "Inter", provider: "google" }],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user