-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
47 lines (47 loc) · 1.15 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
htmlAttrs: {
lang: "en",
},
charset: "utf-8",
viewport: "width=device-width, initial-scale=1",
title: "Nuxt & Decap CMS boilerplate",
},
},
modules: ["@nuxt/content"],
content: {
markdown: {
// stop the markdownParser from turning headings into anchor tags
// Alternatively have a read on markdown render options via the Content module at https://content.nuxt.com/get-started/configuration#markdown
anchorLinks: false
}
},
runtimeConfig: {
public: {
// set your cloudinary env url (used to built responsive assets links)
cloudinaryEnvUrl: 'https://res.cloudinary.com/sailsnake-api-test',
}
},
css: [
"@/assets/scss/normalize.css",
"@/assets/scss/fonts.scss",
"@/assets/scss/main.scss",
"@/assets/scss/type.scss",
"@/assets/scss/forms.scss",
"@/assets/scss/cards.scss",
],
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: '@import "@/assets/scss/mixins.scss"; @import "@/assets/scss/variables.scss";',
},
},
},
},
experimental: {
componentIslands: true,
},
});