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" }],
|
||||
},
|
||||
});
|
||||
|
||||
13
package.json
13
package.json
@@ -14,15 +14,24 @@
|
||||
"@nuxt/icon": "2.0.0",
|
||||
"@nuxt/image": "1.11.0",
|
||||
"@nuxt/scripts": "0.11.13",
|
||||
"@nuxt/test-utils": "3.19.2",
|
||||
"@nuxt/test-utils": "^3.19.2",
|
||||
"@nuxtjs/i18n": "10.0.6",
|
||||
"@primeuix/themes": "^1.2.3",
|
||||
"@primevue/nuxt-module": "^4.3.7",
|
||||
"@unhead/vue": "^2.0.3",
|
||||
"nuxt": "^4.0.3",
|
||||
"primevue": "^4.3.7",
|
||||
"tailwindcss-primeui": "^0.6.1",
|
||||
"vue": "^3.5.20",
|
||||
"vue-router": "^4.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.2.2",
|
||||
"@vue/test-utils": "^2.4.6",
|
||||
"happy-dom": "^18.0.1",
|
||||
"husky": "^9.1.7",
|
||||
"ultracite": "5.2.9"
|
||||
"playwright-core": "^1.55.0",
|
||||
"ultracite": "5.2.9",
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user