This commit is contained in:
Fedor Katurov 2022-11-02 11:58:45 +06:00
commit 5104c2518b
34 changed files with 6844 additions and 0 deletions

50
nuxt.config.ts Normal file
View file

@ -0,0 +1,50 @@
export default defineNuxtConfig({
alias: {
"~": "/<rootDir>",
},
modules: ["@nuxt/content", "@nuxtjs/color-mode"],
typescript: {
shim: false,
typeCheck: true,
},
content: {
navigation: {
fields: ["blblblb"],
},
highlight: {
theme: {
default: "github-dark",
light: "solarized-light",
},
preload: [
"shell",
"c",
"go",
"graphql",
"scss",
"shell",
"sh",
"docker",
"typescript",
"javascript",
"nginx",
"bash",
"yaml",
"sh",
],
},
},
target: "static",
css: ["@/assets/css/main.scss"],
head: {
link: [{ rel: "icon", type: "image/png", href: "/favicon.png" }],
},
colorMode: {
preference: "dark",
classSuffix: "",
storageKey: "nuxt-color-mode",
},
app: {
buildAssetsDir: "nuxt/",
},
});