This repository was archived by the owner on Mar 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
53 lines (49 loc) · 1.32 KB
/
nuxt.config.ts
File metadata and controls
53 lines (49 loc) · 1.32 KB
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
import { defineNuxtConfig } from "nuxt/config";
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
app: {
head: {
htmlAttrs: {
lang: "en",
},
script: [
{
src: "https://api.pirsch.io/pirsch.js",
id: "pirschjs",
defer: true,
"data-code": "h0iQydru2I8bInEwhCLefaxGV5SryP06",
type: "text/javascript",
},
],
},
},
runtimeConfig: {
public: {
newsletter: {
enabled: true,
form_action:
"https://assets.mailerlite.com/jsonp/824357/forms/113155364217685975/subscribe",
},
},
},
css: ["@/assets/css/main.css", "@/assets/scss/main.scss"],
modules: ["@nuxt/content", "@nuxtjs/tailwindcss", "@nuxt/image"],
image: {
format: ["webp"],
},
content: {
markdown: {
remarkPlugins: ["remark-reading-time"],
},
},
nitro: {
prerender: {
routes: ["/sitemap.xml", "/rss.xml"],
},
},
vue: {
compilerOptions: {
isCustomElement: (tag) => ["hyvor-talk-comments"].includes(tag),
},
},
});