-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
49 lines (46 loc) · 1.42 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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
import glsl from 'vite-plugin-glsl';
export default defineNuxtConfig({
modules: [
'@vueuse/nuxt',
],
build: {
transpile: ['three'],
},
buildModules: [
'@vueuse/nuxt',
],
app: {
head: {
charset: 'utf-16',
title: 'LAYLOW - OLYMPIA LIVE EXPERIENCE',
meta: [
{ name: 'description', content: "Rediscover Laylow's concert stage at @L'Olympia which took place on March 5, 2020" },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ property: 'og:type', content: 'website' },
{ property: 'og:url', content: 'https://webgl-trinity.vercel.app/' },
{ property: 'og:title', content: '' },
{ property: 'og:description', content: '' },
{ property: 'og:image', content: '/meta.jpg' },
{ property: 'twitter:card', content: 'summary_large_image' },
{ property: 'twitter:url', content: 'https://webgl-trinity.vercel.app/' },
{ property: 'twitter:title', content: 'LAYLOW - OLYMPIA LIVE EXPERIENCE' },
{ property: 'twitter:description', content: '' },
{ property: 'twitter:image', content: '/meta.jpg' }
],
}
},
vite: {
plugins: [glsl()],
define: {
"process.env.TESS_ENV": process.env.ENV,
},
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "@/assets/styles/main.scss";`
},
},
},
}
})