-
Notifications
You must be signed in to change notification settings - Fork 4
/
nuxt.config.ts
66 lines (65 loc) · 2.06 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
import glsl from 'vite-plugin-glsl'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@nuxt/eslint', '@nuxtjs/robots', '@nuxtjs/sitemap'],
app: {
head: {
htmlAttrs: {
lang: 'en',
},
title: 'real world shader',
link: [
{ rel: 'icon', href: '/favicon.ico', sizes: '32x32' },
{ rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' },
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' },
{ rel: 'manifest', href: '/manifest.webmanifest' },
],
script: [
{ 'async': true, 'src': 'https://tracking.jnkl.dev/script.js', 'data-do-not-track': 'true', 'data-website-id': 'cb5b5e20-08da-4ab4-9207-6e3bd7a7d7df', 'data-domains': 'real-world-shader.jankohlbach.com' },
],
meta: [
{ name: 'theme-color', content: '#000000' },
{ name: 'description', content: 'a collection of shader effects that are actually useful in real world client projects' },
{ property: 'og:title', content: 'real world shader' },
{ property: 'og:description', content: 'a collection of shader effects that are actually useful in real world client projects' },
{ property: 'og:image', content: 'https://real-world-shader.jankohlbach.com/og-image.jpg' },
{ property: 'og:type', content: 'website' },
{ property: 'og:locale', content: 'en' },
],
},
pageTransition: { name: 'page', mode: 'out-in' },
},
css: [
'@/assets/styles/global.scss',
],
site: {
url: 'https://real-world-shader.jankohlbach.com',
// indexable: false,
},
nitro: {
prerender: {
crawlLinks: true,
routes: ['/', '/sitemap.xml'],
},
},
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: '@use "~/assets/styles/functions" as *; @use "~/assets/styles/mixins" as *;',
},
},
},
plugins: [glsl()],
},
typescript: {
typeCheck: true,
},
eslint: {
config: {
stylistic: {
braceStyle: '1tbs',
},
},
},
})