-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathnuxt.config.ts
81 lines (80 loc) · 2.37 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import { resolve, dirname } from 'node:path'
import { fileURLToPath } from 'url'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
target: 'static',
ssr: true,
app: {
head: {
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'keywords', content:'production management pipeline cg cg blender nuke 3dsmax maya animation movie vfx tracking shotgun alternative 2D 3D' },
{ name:'og:title', content: 'CGWire - Collaboration Platform for Animation and VFX studios' },
{ name:'og:locale', content: 'en_US' },
{ name:'og:locale:alternate', content: 'fr_FR' },
{ name:'og:image', content: 'https://cgwire.com/images/logo.svg' },
{ name:'twitter:card', content: 'summary' },
{ name:'twitter:url', content: 'http://twitter.com/cgwirekitsu/' },
{ name:'twitter:title', content: 'CGWire - Collaboration Platform for Animation and VFX studios' },
{ name:'twitter:image', content: 'https://cgwire.com/images/logo.svg' }
],
script: [
],
link: [
{ rel: 'icon', href: '/favicon.png' }
],
style: [
],
noscript: [
{ children: 'Javascript is required' }
]
}
},
css: [
{ src: '~/assets/styles/app.styl', lang: 'styl'},
'bulma'
// '~/node_modules/lite-youtube-embed/src/lite-yt-embed.css'
],
components: true,
modules: [
'@nuxtjs/i18n',
['@funken-studio/sitemap-nuxt-3', { generateOnBuild: true }]
],
i18n: {
baseUrl: 'https://www.cg-wire.com',
defaultLocale: 'en',
fallbackLocale: 'en',
locales: [
{
code: 'en',
iso: 'en-US',
file: 'en.json'
},
{
code: 'fr',
iso: 'fr-FR',
file: 'fr.json'
},
{
code: 'ja',
iso: 'ja-JP',
file: 'ja.json'
}
],
lazy: true,
langDir: 'locales'
},
plugins: [
{ src: '~/plugins/aos', mode: 'client', ssr: false },
{ src: '~/plugins/youtube', mode: 'client', ssr: false },
{ src: '~/plugins/crisp.js', mode: 'client' },
{ src: '~/plugins/matomo.js', mode: 'client', ssr: false }
],
env: {
baseUrl: process.env.BASE_URL || 'http://localhost:3000'
},
sitemap: {
hostname: 'https://www.cg-wire.com'
}
})