-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
99 lines (94 loc) · 3.29 KB
/
Copy pathnuxt.config.ts
File metadata and controls
99 lines (94 loc) · 3.29 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// https://nuxt.com/docs/api/configuration/nuxt-config
import tailwindcss from "@tailwindcss/vite";
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
devtools: { enabled: true },
css: ["~/assets/css/main.css"],
vite: { plugins: [tailwindcss()] },
app: {
baseURL: "/",
buildAssetsDir: "/_nuxt/",
head: {
title: "lerax",
meta: [
{ name: "description", content: "lerax" },
{ name: "keywords", content: "lerax, dasturlash, namuna, kod" },
{ name: "author", content: "nnolan" },
{ name: "robots", content: "index, follow" },
{ name: "viewport", content: "width=device-width, initial-scale=1.0" },
{ name: "generator", content: "Nuxt.js" },
{ name: "apple-mobile-web-app-capable", content: "yes" },
{ name: "apple-mobile-web-app-status-bar-style", content: "black" },
{ name: "apple-mobile-web-app-title", content: "lerax" },
{ name: "theme-color", content: "#00a8e8" },
{ name: "msapplication-TileColor", content: "#00a8e8" },
{ name: "msapplication-TileImage", content: "/favicon.ico" },
{ name: "msapplication-config", content: "/browserconfig.xml" },
{ name: "msapplication-tap-highlight", content: "no" },
{ name: "format-detection", content: "telephone=no, email=no" },
{ name: "google", content: "notranslate" },
{ name: "googlebot", content: "notranslate" },
{ name: "googlebot-news", content: "notranslate" },
// Open Graph defaults
{ property: "og:type", content: "website" },
{ property: "og:site_name", content: "lerax" },
{ property: "og:title", content: "lerax" },
{ property: "og:description", content: "lerax" },
{ property: "og:image", content: "/images/android-chrome-512x512.png" },
{ property: "og:image:width", content: "512" },
{ property: "og:image:height", content: "512" },
// Twitter Card defaults
{ name: "twitter:card", content: "summary" },
{ name: "twitter:title", content: "lerax" },
{ name: "twitter:description", content: "lerax" },
{
name: "twitter:image",
content: "/images/android-chrome-512x512.png",
},
],
link: [
{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" },
{ rel: "image_src", href: "/images/android-chrome-512x512.png" },
],
},
},
content: {
build: {
markdown: {
toc: {
depth: 3,
},
highlight: {
langs: [
"go",
"php",
"js",
"jsx",
"ts",
"tsx",
"python",
"dart",
"vue",
"vue-html",
"nix",
],
theme: {
// Default theme (same as single string)
default: "github-light",
// Theme used if `html.dark`
dark: "github-dark",
// Theme used if `html.sepia`
sepia: "monokai",
},
},
},
},
},
runtimeConfig: {
public: {
ddApplicationId: process.env.NUXT_PUBLIC_DD_APPLICATION_ID || "",
ddClientToken: process.env.NUXT_PUBLIC_DD_CLIENT_TOKEN || "",
},
},
modules: ["@nuxt/content", "@nuxt/eslint", "@nuxt/image", "@nuxt/ui"],
});