-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
80 lines (77 loc) · 1.63 KB
/
nuxt.config.ts
File metadata and controls
80 lines (77 loc) · 1.63 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import { LocalStorage } from "quasar";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
app: {
head: {
link: [
{
rel: "stylesheet",
href: "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css",
},
{
rel: "stylesheet",
href: "https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css",
},
{
rel: "stylesheet",
href: "https://cdn.jsdelivr.net/gh/devicons/devicon@latest/devicon.min.css",
},
],
},
},
modules: [
"@nuxtjs/tailwindcss",
"@pinia/nuxt",
"@pinia-plugin-persistedstate/nuxt",
"@nuxtjs/color-mode",
"nuxt-quasar-ui",
//"@nuxtjs/google-fonts",
],
runtimeConfig: {
public: {
APIBaseURL: process.env.API_BASE_URL || "http://localhost:5000",
NitroBaseURL: process.env.NITRO_BASE_URL || "http://localhost:3000",
},
},
quasar: {
iconSet: "mdi-v7",
plugins: ["Notify", "Dialog"],
config: {
dark: (LocalStorage.getItem("nuxt-color-mode") === "dark"),
brand: {
primary: "#626ee3",
secondary: "#e26a6a",
accent: "#47b89c",
dark: "#161832",
positive: "#21BA45",
negative: "#e06060",
info: "#edc1bb",
warning: "#F2C037",
},
notify: {
position: "top",
timeout: 2000,
textColor: "white",
},
},
extras: {
fontIcons: ["mdi-v7", "fontawesome-v6"],
},
},
// googleFonts: {
// families: {
// Roboto: true,
// "Josefin+Sans": true,
// Lato: [100, 300],
// Raleway: {
// wght: [100, 400],
// ital: [100],
// },
// },
// },
colorMode: {
preference: "system",
fallback: "light",
},
});