-
Notifications
You must be signed in to change notification settings - Fork 4
/
nuxt.config.ts
38 lines (38 loc) · 1021 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
css: ['~/assets/styles/main.scss'],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: '@use "@/assets/styles/foundation/foundation.scss" as *;'
}
}
}
},
runtimeConfig: {
public: {
betterstackUrl: process.env.BETTERSTACK_URL,
betterstackToken: process.env.BETTERSTACK_TOKEN
}
},
// TODO: Add favicons
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicons/favicon.png' },
{ rel: 'icon', type: 'image/png', href: '/favicons/favicon_32x32.png' },
{ rel: 'icon', type: 'image/png', href: '/favicons/favicon_96x96.png' },
{ rel: 'apple-touch-icon-precomposed', href: '/apple-touch-icon.png' },
]
}
}
})