-
Notifications
You must be signed in to change notification settings - Fork 5
/
nuxt.config.ts
47 lines (46 loc) · 1.13 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
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
modules: [
'@nuxt/content',
'@nuxtjs/tailwindcss',
'@nuxtjs/strapi',
'nuxt-svgo',
'vue-plausible'
],
strapi: {
prefix: '',
version: 'v3',
cookie: {
path: '/'
}
},
publicRuntimeConfig: {
baseUrl: process.env.VERCEL
? `https://${process.env.VERCEL_URL}`
: 'http://localhost:3000',
strapiURL: process.env.STRAPI_URL || 'http://localhost:1337',
serviceURL: process.env.SERVICE_URL || 'http://localhost:3001',
iconsURL: process.env.ICONS_URL,
firefoxStoreUrl:
'https://addons.mozilla.org/en-GB/firefox/addon/vue-telescope/',
googleStoreUrl:
'https://chrome.google.com/webstore/detail/vue-telescope/neaebjphlfplgdhedjdhcnpjkndddbpd',
edgeStoreUrl: 'https://microsoftedge.microsoft.com/addons/detail/vue-telescope/icgcillpgelpleniodgkmohgdmeogodl',
plausible: {
domain: 'vuetelescope.com'
}
},
svgo: {
svgo: false
},
components: [
{
path: '~/components',
global: true,
pathPrefix: false
}
],
experimental: {
viteNode: true
}
})