-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
51 lines (50 loc) · 1.19 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
import { defineNuxtConfig } from 'nuxt/config';
export default defineNuxtConfig({
css: [
'~/styles/_reset.scss',
'locomotive-scroll/dist/locomotive-scroll.css',
'~/styles/_fonts.scss',
'~/styles/_base.scss',
],
devtools: {
enabled: true,
},
modules: ['@nuxt/content', '@nuxt/eslint'],
nitro: {
prerender: {
crawlLinks: true,
routes: ['/'],
},
},
runtimeConfig: {
spotifyClientId: '',
spotifyClientSecret: '',
spotifyRefreshToken: '',
public: {
githubLink: 'https://github.com/colinlienard',
linkedinLink: 'https://www.linkedin.com/in/colin-lienard-83490a1a4/',
twitterLink: 'https://twitter.com/colinlienard',
redditLink: 'https://www.reddit.com/user/colinlienard',
email: 'contact@colin-lienard.fr',
},
},
typescript: {
strict: true,
},
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: `
@use 'sass:color';
@use "~/styles/animations";
@use "~/styles/mixins";
@use "~/styles/screens";
@use "~/styles/typography";
@use "~/styles/variables";
`,
},
},
},
},
});