mirror of
https://github.com/ArthurDanjou/spanish-learner.git
synced 2026-01-30 11:47:52 +01:00
Init project
This commit is contained in:
@@ -20,16 +20,11 @@ export default defineNuxtConfig({
|
||||
'@nuxtjs/google-fonts',
|
||||
'@nuxthq/studio',
|
||||
'@nuxt/image',
|
||||
'@nuxtjs/i18n',
|
||||
'@pinia/nuxt',
|
||||
'@pinia-plugin-persistedstate/nuxt',
|
||||
'nuxt-auth-utils',
|
||||
],
|
||||
|
||||
// Nuxt Hub
|
||||
hub: {
|
||||
cache: true,
|
||||
kv: true,
|
||||
database: true,
|
||||
analytics: true,
|
||||
},
|
||||
@@ -53,24 +48,6 @@ export default defineNuxtConfig({
|
||||
timeline: { enabled: true },
|
||||
},
|
||||
|
||||
// Nuxt I18N
|
||||
i18n: {
|
||||
strategy: 'no_prefix',
|
||||
locales: [
|
||||
{
|
||||
code: 'en',
|
||||
iso: 'en-EN',
|
||||
icon: 'i-twemoji-flag-united-kingdom',
|
||||
},
|
||||
{
|
||||
code: 'fr',
|
||||
iso: 'fr-FR',
|
||||
icon: 'i-twemoji-flag-france',
|
||||
},
|
||||
],
|
||||
defaultLocale: 'en',
|
||||
},
|
||||
|
||||
// Nuxt Google Fonts
|
||||
googleFonts: {
|
||||
display: 'swap',
|
||||
@@ -87,12 +64,5 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
|
||||
// Nuxt Env
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
test: '',
|
||||
},
|
||||
},
|
||||
|
||||
compatibilityDate: '2024-07-23',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user