diff --git a/nuxt.config.ts b/nuxt.config.ts index 6be3d8f..552e59a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,73 +2,69 @@ import { cnamLightTheme } from '@cnamts/synapse/designTokens/tokens/cnam/cnamLig import Components from 'unplugin-vue-components/vite' export default defineNuxtConfig({ - ssr: false, + ssr: false, - runtimeConfig: { - public: { - title: process.env.TITLE, - message: process.env.MESSAGE, - theme: process.env.THEME, - }, + runtimeConfig: { + public: { + title: process.env.TITLE, + message: process.env.MESSAGE, + theme: process.env.THEME, + }, }, - devtools: { enabled: true }, + devtools: { enabled: true }, - modules: [ - 'vuetify-nuxt-module', - 'dayjs-nuxt', - '@pinia/nuxt', - '@nuxt/eslint', + modules: [ + 'vuetify-nuxt-module', + 'dayjs-nuxt', + '@pinia/nuxt', + '@nuxt/eslint', ], - vuetify: { - vuetifyOptions: { - icons: { - defaultSet: 'mdi-svg', - }, - theme: { - defaultTheme: 'light', - themes: { - light: { - colors: { - ...cnamLightTheme, - // ...bootstrapLightTheme, - }, - }, - }, - }, + vuetify: { + vuetifyOptions: { + icons: { + defaultSet: 'mdi-svg', + }, + theme: { + defaultTheme: 'light', + themes: { + light: { + colors: { + ...cnamLightTheme, + // ...bootstrapLightTheme, + }, }, + }, + }, + }, }, - build: { - transpile: [ - 'vuetify', - '@cnamts/synapse', - '@cnamts/design-tokens', - ], + build: { + transpile: ['vuetify', '@cnamts/synapse', '@cnamts/design-tokens'], }, - vite: { - // change the component dirs to match our project layout - plugins: [Components({ dts: true, dirs: ['./components'] })], + vite: { + // change the component dirs to match our project layout + plugins: [Components({ dts: true, dirs: ['./components'] })], }, - css: ['@cnamts/synapse/style.css', '~/assets/settings.scss'], + css: ['@cnamts/synapse/style.css', '~/assets/settings.scss'], - imports: { - dirs: ['./stores'], + imports: { + dirs: ['./stores'], }, - dayjs: { - locales: ['en', 'fr'], - plugins: ['relativeTime', 'utc', 'timezone'], - defaultLocale: 'fr', - defaultTimezone: 'Europe/Paris', + dayjs: { + locales: ['en', 'fr'], + plugins: ['relativeTime', 'utc', 'timezone'], + defaultLocale: 'fr', + defaultTimezone: 'Europe/Paris', }, - pinia: { - autoImports: ['defineStore', 'acceptHMRUpdate'], + pinia: { + autoImports: ['defineStore', 'acceptHMRUpdate'], }, - compatibilityDate: '2024-10-09', + compatibilityDate: '2024-10-09', })