🇨🇦 Oh Canada! Good beers and coding!

Empower your NuxtJS application with @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.


Empower your NuxtJS application with @nuxtjs/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS.

Install Nuxt JS

npx create nuxtjs <my-project> supporting Markdown, YAML, CSV and JSON: https://content.nuxtjs.org/writing.

Fetching content

Learn how to fetch your content with $content: https://content.nuxtjs.org/fetching.

Displaying content


Displaying content


Displaying content


Displaying content


Displaying content


Here's some example code:

This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.

Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing. return shell_exec("echo $input | $markdown_script");

Displaying content

server.js
const http = require('http')
const bodyParser = require('body-parser')

http.createServer((req, res) => {
  bodyParser.parse(req, (error, body) => {
    res.end(body)
  })
}).listen(3000)