-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.js
40 lines (39 loc) · 1.18 KB
/
nuxt.config.js
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
import { defineNuxtConfig } from "nuxt";
import Constants from "./data/Constants.js";
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
meta: {
titleTemplate: `%s - ${Constants.Name}`,
meta: [
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "theme-color", hid: "theme-color", content: "#ff00c3" },
{
name: "description",
hid: "description",
content: Constants.Description,
},
{ name: "og:image", hid: "og-image", content: "/icon.png" },
{ name: "og:thumbnail", hid: "og-thumbnail", content: "/icon.png" },
],
link: [
{ rel: "shortcut icon", href: "/favicon.ico" },
{ rel: "apple-touch-icon", href: "/apple-touch-icon.png" },
],
},
css: ["@/assets/transition.css"],
modules: [
"@nuxtjs/tailwindcss",
"@pinia/nuxt",
"@nuxt/content",
],
content: {
navigation: {
fields: ["navTitle"],
},
highlight: {
// See the available themes on https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-theme
theme: "vitesse-dark",
},
},
// loading: '@/components/Effects/PingEye.vue'
});