mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-16 14:10:52 +01:00
fixed sync locale and theme
This commit is contained in:
@ -11,9 +11,12 @@ export default defineNuxtConfig({
|
||||
"@vueuse/nuxt",
|
||||
"@nuxt/icon",
|
||||
"nuxt-snackbar",
|
||||
"nuxt-svgo-loader",
|
||||
|
||||
|
||||
],
|
||||
|
||||
|
||||
|
||||
imports: {
|
||||
dirs: ["composables/**", "stores/**", "components/**", "pages/**", "types/**"],
|
||||
},
|
||||
@ -26,10 +29,23 @@ export default defineNuxtConfig({
|
||||
scan: true,
|
||||
includeCustomCollections: true,
|
||||
},
|
||||
serverBundle: { collections: ["mdi", "line-md", "solar", "gg", "emojione"] }
|
||||
//collections: ["mdi", "line-md"]
|
||||
serverBundle: { collections: ["mdi", "line-md", "solar", "gg", "emojione"] },
|
||||
|
||||
customCollections: [
|
||||
{
|
||||
prefix: 'my-icon',
|
||||
dir: './src/assets/icons/'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
|
||||
/* svgo: {
|
||||
autoImportPath: '~/assets/svg/',
|
||||
dts: true,
|
||||
}, */
|
||||
|
||||
i18n: {
|
||||
strategy: "prefix_and_default",
|
||||
defaultLocale: "de",
|
||||
@ -90,4 +106,4 @@ export default defineNuxtConfig({
|
||||
strictPort: true,
|
||||
},
|
||||
},
|
||||
});
|
||||
})
|
||||
Reference in New Issue
Block a user