mirror of
https://github.com/Drop-OSS/drop-api-autogen.git
synced 2026-01-30 20:55:17 +01:00
32 lines
668 B
TypeScript
32 lines
668 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: "2025-07-15",
|
|
devtools: { enabled: true },
|
|
|
|
modules: ["@nuxt/content"],
|
|
|
|
vite: { plugins: [tailwindcss()] },
|
|
|
|
css: ["~/assets/css/core.scss", "~/assets/css/tailwind.css"],
|
|
|
|
hooks: {
|
|
"modules:before": async () => {
|
|
// Dynamic import so I can ignore errors. (I'm lazy)
|
|
const build = (await import("./tools/index")).default;
|
|
await build();
|
|
},
|
|
},
|
|
|
|
content: {
|
|
build: {
|
|
markdown: {
|
|
highlight: {
|
|
theme: "aurora-x",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|