How sumirseth/knowledge-base-web works
Project type and purpose
• This is a JAMstack-style, content-driven, static website built with Nuxt.js and the nuxt-content module.
• Its primary purpose is to serve a knowledge base: markdown files in content/ get rendered into Vue pages via the catch-all routes in pages/.
File structure
• Top-level “nuxt.config.ts” and “package.json” define our Nuxt application, modules, and build scripts.
• pages/ contains Vue components organized with catch-all routes ([...slug].vue) for dynamic content display.
• content/ holds the source markdown or JSON content.
• composables/ contains reusable logic (e.g. useDarkMode.ts).
• public/ holds static assets (images, PDFs).
• server/ can house custom server middleware (if using Nuxt Server-Side or API routes).
• Build tool config: tailwind.config.js for styles, TS configs, and generate script for static export.
README
• Confirms usage of nuxt-content as a content API during SSR/SSG.
• Outlines dev flow (npm run dev) and static generation (npm run generate → dist/).