feat(app): tools management base

This commit is contained in:
Corentin Thomasset 2024-10-26 10:54:32 +02:00
parent 202896fa95
commit b22173681c
No known key found for this signature in database
GPG key ID: DBD997E935996158
29 changed files with 1372 additions and 45 deletions

View file

@ -1,3 +1,5 @@
import toolsModule from './src/modules/tools/modules/tools.modules';
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
@ -14,9 +16,18 @@ export default defineNuxtConfig({
'@nuxt/icon',
'@vueuse/nuxt',
'@nuxtjs/color-mode',
toolsModule, // Must be imported before i18n
'@nuxtjs/i18n',
'@nuxtjs/seo',
'@pinia/nuxt',
],
site: {
url: 'https://it-tools.tech',
name: 'IT Tools',
description: 'The open-source collection of handy online tools to help developers in their daily life.',
},
fonts: {
provider: 'bunny',
defaults: {
@ -35,7 +46,11 @@ export default defineNuxtConfig({
i18n: {
strategy: 'prefix',
vueI18n: './i18n.config.ts',
locales: ['en', 'fr'],
defaultLocale: 'en',
langDir: './src/locales',
locales: [
{ code: 'en', file: 'en.yaml', name: 'English' },
{ code: 'fr', file: 'fr.yaml', name: 'Français' },
],
},
});