mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-24 08:46:15 -04:00
feat(app): tools management base
This commit is contained in:
parent
202896fa95
commit
b22173681c
29 changed files with 1372 additions and 45 deletions
|
@ -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' },
|
||||
],
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue