-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnuxt.config.ts
36 lines (36 loc) · 938 Bytes
/
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
export default defineNuxtConfig({
future: {
compatibilityVersion: 4,
},
extends: ['nuxt-umami'],
modules: ['@nuxtjs/robots', '@nuxtjs/tailwindcss'],
nitro: {
prerender: {
routes: ['/subscription/thank-you', '/subscription/unsubscribed-successfully'],
},
routeRules: {
'/dinkie-bitmap': {
redirect: { to: 'https://dinkiebitmap.com', statusCode: 301 },
},
'/luohei-variable': {
redirect: { to: 'https://luohei.atelier-anchor.com', statusCode: 301 },
},
'/mingkwai': {
redirect: { to: 'https://mingkwai.atelier-anchor.com', statusCode: 301 },
},
},
},
vite: {
define: {
'import.meta.env.VITE_BUILD_DATE': JSON.stringify(new Date()),
},
},
appConfig: {
umami: {
host: 'https://umami.dinkiebitmap.com',
id: '442f071b-5e0a-4987-bdbe-e045c3519a41',
version: 2,
ignoreLocalhost: true,
},
},
})