| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- import fs from 'fs';
- export default {
- app: {
- head: {
- title: 'App',
- meta: [
- { charset: 'utf-8' },
- { name: 'viewport', content: 'width=device-width, initial-scale=1' },
- { hid: 'description', name: 'description', content: '' },
- { name: 'msapplication-TileColor', content: '#324250' },
- { name: 'msapplication-TileImage', content: '/favicon/mstile-144x144.png' }
- ],
- link: [
- { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
- ]
- }
- },
- css: [
- 'vuetify/lib/styles/main.sass'
- ],
- modules: [
- [
- '@pinia/nuxt',
- {
- autoImports: [
- // automatically imports `usePinia()`
- 'defineStore',
- // automatically imports `usePinia()` as `usePiniaStore()`
- ['defineStore', 'definePiniaStore'],
- ],
- }
- ],
- '@pinia-orm/nuxt',
- 'nuxt-lodash',
- '@nuxtjs/i18n',
- ],
- typescript: {
- strict: true
- },
- //@ts-ignore
- i18n: {
- langDir: 'lang',
- lazy: true,
- locales: [
- {
- code: 'en',
- iso: 'en-US',
- file: 'en.json',
- name: 'English'
- },
- {
- code: 'fr',
- iso: 'fr-FR',
- file: 'fr.json',
- name: 'Français'
- }
- ],
- defaultLocale: 'fr',
- fallbackLocale: 'en',
- detectBrowserLanguage: false,
- vueI18n: {
- legacy: false,
- }
- },
- build: {
- transpile: ['vuetify'],
- },
- vite: {
- define: {
- 'process.env.DEBUG': process.env.DEBUG,
- },
- //@ts-ignore
- server : {
- //@ts-ignore
- port: 443,
- hmr: {
- protocol: 'wss'
- }
- },
- }
- }
|