-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
44 lines (43 loc) · 1.03 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { i18n } from './config/i18n'
import { pwa } from './config/pwa'
export default defineNuxtConfig({
app: {
head: {
title: 'Acheeve | Habits & More',
link: [
{rel: 'icon', type:'image/svg+xml', href:'/a.svg'},
{rel: 'apple-touch-icon', href:'/a-logo.svg'},
],
meta: [
{name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'}
],
htmlAttrs: {
lang: 'en' //should be auto detected //TODO maybe with i18nHead = useLocaleHead
}
},
},
modules: [
'@vueuse/nuxt',
'@nuxtjs/supabase',
'@nuxt/image-edge',
'@nuxtjs/i18n-edge',
'@pinia/nuxt',
'@vite-pwa/nuxt',
],
pwa,
i18n,
css: ['@/assets/css/main.css'],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
pinia: {
autoImports: [
'defineStore',
['defineStore', 'definePiniaStore'],
],
},
experimental: { inlineSSRStyles: false } // https://github.com/nuxt/nuxt/issues/21840
})