mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 17:24:48 +10:00
starting docs infra
This commit is contained in:
+29
-1
@@ -1,9 +1,12 @@
|
||||
import path from "path";
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
// Nuxt-only config
|
||||
compatibilityDate: "2024-04-03",
|
||||
devtools: { enabled: false },
|
||||
|
||||
css: ["~/assets/core.scss"],
|
||||
|
||||
postcss: {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
@@ -22,4 +25,29 @@ export default defineNuxtConfig({
|
||||
websocket: true,
|
||||
},
|
||||
},
|
||||
|
||||
watchers: {
|
||||
chokidar: {
|
||||
ignored: ".data",
|
||||
},
|
||||
},
|
||||
|
||||
// Module config from here down
|
||||
modules: ["@nuxt/content"],
|
||||
|
||||
content: {
|
||||
api: {
|
||||
baseURL: "/api/v1/_content",
|
||||
},
|
||||
markdown: {
|
||||
anchorLinks: false,
|
||||
},
|
||||
sources: {
|
||||
content: {
|
||||
driver: "fs",
|
||||
prefix: "/docs",
|
||||
base: path.resolve(__dirname, "docs"),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user