-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
60 lines (60 loc) · 1.26 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
css: ['@/assets/css/main.scss'],
plugins: [],
components: true,
modules: [
'@nuxtjs/strapi',
'@pinia/nuxt',
'@nuxtjs/color-mode',
'@nuxt/image',
'vue3-carousel-nuxt',
'@nuxtjs/google-fonts',
'@nuxtjs/robots',
'@nuxt/content',
'nuxt-gtag',
],
strapi: {
url: process.env.STRAPI_URL,
prefix: '',
version: 'v4',
cookie: {},
cookieName: 'strapi_jwt',
},
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {},
typescript: {
strict: true,
},
vite: {
// @ts-ignore ssr:
noExternal: ['moment'],
css: {
preprocessorOptions: {
scss: {
additionalData: '@use "@/assets/css/utils.scss" as *;',
},
},
},
},
image: {
dir: 'assets/',
formats: ['webp', 'svg', 'png', 'jpg'],
strapi: {
baseURL:
'https://nuenenen-strapi-aws-s3-images-bucket.s3.eu-central-1.amazonaws.com/',
},
},
devtools: {
enabled: true,
timeline: {
enabled: true,
},
},
googleFonts: {
families: {
Lato: [100, 200, 300, 400, 500, 600, 700, 800, 900],
Orbitron: [100, 200, 300, 400, 500, 600, 700, 800, 900],
},
},
})