-
Notifications
You must be signed in to change notification settings - Fork 8
/
nuxt.config.ts
59 lines (58 loc) · 2.02 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
import glsl from 'vite-plugin-glsl'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@nuxt/eslint', '@nuxtjs/robots'],
app: {
head: {
htmlAttrs: {
lang: 'en',
},
title: 'nuxt3 creative base',
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': '1862b35f-c5b6-4845-a072-95c964c7a5e5', 'data-domains': 'nuxt3-creative-base.vercel.app' },
],
meta: [
{ name: 'theme-color', content: '#000000' },
{ name: 'description', content: 'minimal nuxt3 starter for creative projects, includes scss setup, gsap, lenis scroll, a native webgl setting (the cursor) and a three.js setting (the cube)' },
{ property: 'og:title', content: 'nuxt3 creative base' },
{ property: 'og:description', content: 'minimal nuxt3 starter for creative projects, includes scss setup, gsap, lenis scroll, a native webgl setting (the cursor) and a three.js setting (the cube)' },
// { property: 'og:image', content: 'https://nuxt3-creative-base.vercel.app/og-image.jpg' },
{ property: 'og:type', content: 'website' },
{ property: 'og:locale', content: 'en' },
],
},
},
css: [
'@/assets/styles/global.scss',
],
site: {
url: 'https://nuxt3-creative-base.vercel.app',
// indexable: false,
},
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',
},
},
},
})