A simple Git-based headless CMS for small websites.
Language
English | 한국어
Generate an API endpoint with a markdown file you write in the articles
directory.
- Customizable remark, rehype plugins
- Syntax highlighting to code blocks
- Only support markdown
- Provides only HTTP API
- (Currently) Support Nuxt v3
npm install -D @dungsil/nuxt-articles
// nuxt.config.ts
export default {
buildModules: ['@dungsil/nuxt-articles']
}
# .gitignore
server/api/articles.ts
- Depending on the
srcDir
you may need to change it.
nuxt-articles
welcomes all contributions! 😍
MIT License © 2022 Kim Younggeon
Inspired by @nuxt/content
, @nuxt/pwa
Reference by @unocss/nuxt