-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnuxt.config.ts
89 lines (88 loc) · 2.77 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
82
83
84
85
86
87
88
89
import { languages } from './constants'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: true,
app: {
baseURL: '/',
head: {
htmlAttrs: {
lang: 'en',
},
title: 'Get Sheikah, your Witnet wallet.',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content:
'Download Sheikah, the desktop app that keeps your Witnet tokens safe and helps you build, share and deploy data requests into the Witnet network.',
},
{ name: 'theme-color', content: '#b566ff' },
{ name: 'robots', content: 'index, follow' },
{ name: 'og:type', content: 'website' },
{
name: 'og:title',
content: 'Get Sheikah, your Witnet wallet.',
},
{
name: 'og:description',
content:
'Download Sheikah, the desktop app that keeps your Witnet tokens safe and helps you build, share and deploy data requests into the Witnet network.',
},
{ name: 'og:image', content: '/sheikah.png' },
{ name: 'og:url', content: 'https://sheikah.app' },
{ name: 'og:locale:alternate', content: 'es_ES' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/sheikah.ico' },
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Catamaran:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500;1,700&display=swap',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Raleway:wght@800&display=swap',
},
],
},
},
modules: ['@nuxtjs/i18n', 'nuxt-gtag'],
gtag: {
id: 'GTM-KX4HLZQ7',
},
i18n: {
lazy: true,
langDir: 'locales',
strategy: 'prefix_except_default',
defaultLocale: 'en',
detectBrowserLanguage: {
fallbackLocale: 'en',
useCookie: true,
cookieKey: 'i18n_redirected',
redirectOn: 'root',
},
locales: Object.values(languages),
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
additionalData: '@use "~/styles/colors.scss" as *;',
},
},
},
},
css: ['~/styles/main.scss'],
components: true,
compatibilityDate: '2024-12-19',
})