Nuxt 1.4.0^ compatibility! (1.4.1)
Released 2 years ago

Nuxtent is finally compatible with Nuxt 1.0.0! (Thanks to @joostdecock for initiating this, and to @apmontgomery, @cesasol, and @derevandal for the help!)

Released 2 years ago
  • fixed incompatibilities with Linux and Windows (closes #124 #128)

  • Merged new parser API to allow more powerful plugin usage. (#119, thanks to @arrkiin for the work and patience)

There are three ways to configure the parser:

1) extend the default options passed to the parser.
2) Add plugins to the parser.
3) customize the parser after it was created.

Example usage:

// nuxtent.config.js
const Prism = require('prismjs')
const externalLinks = require('markdown-it-link-attributes')
const emoji = require('markdown-it-emoji')
const twemoji = require('twemoji')

module.exports = {
  parsers: {
    md: {
        extend(config) {
          config.highlight = (code, lang) => {
            return `<pre class="language-${lang}"><code class="language-${lang}">${Prism.highlight(code, Prism.languages[lang] || Prism.languages.markup)}</code></pre>`
        plugins: [
            [ externalLinks, { target: '_blank', rel: 'noopener' } ]
        customize(parser) {
            parser.linkify.add(... custom code to recognize and handle twitter handles ...)
            parser.renderer.rules['emoji'] = (token, idx) => {
                return twemoji.parse(token[idx].content);
  css: [
1.1.0 (v1.1.0)
Released 2 years ago

1.1.0 (2017-10-22)


  • config add possibility to declare nuxtent options api key as a function
    given the isStatic parameter to adjust Axios options when using nuxt generate, fixes #92
  content: {
    page: '/_slug',
    permalink: '/:year/:slug',
    generate: ['get', 'getAll']
  api: function(isStatic) {
    return {
      browserBaseURL: isStatic ? '' : ''
  • config all nuxtent options present in api key are now forwarded to axios

  • module allow .yml file extension for content files (a6b240a), closes #69

Bug Fixes

  • prism change Prism implementation to include classes ( 4dad625)

  • module harmonize date format of posts and pages (2154c45), fixes#98

  • module do not expose filePath to the browser (7311294), fixes #96

  • module: fix generate router permalink concatenation (f553cda), closes #103

1.0.2 (v1.0.2)
Released 2 years ago

1.0.2 (2017-09-29)

Bug Fixes

  • module: replace wrong rootDir path by srcDir when looking for components (89a9081)
1.0.1 (v1.0.1)
Released 2 years ago

1.0.1 (2017-09-29)

Bug Fixes

  • example: fix multiple-content-types example config and pages (061bf2a)
  • examples: replace nuxtent generate by nuxt generate command (e91676a)
  • module: properly detect static mode (nuxt generate) (cd148a2), closes #83 #88 #89
1.0.0 (v1.0.0)
Released 2 years ago

1.0.0 (2017-09-25)

Bug Fixes

  • module: fix "dependency not found ~\content" (#78) (9866b7d)
  • module: remove automatic content permalink prefixing (8ff853d)


  • package: remove nuxtent binary (845aa8d)


  • module: verify your content permalinks, possibly add the missing content type prefix
  • package: replace nuxtent generate by nuxt generate in your project's package.json scripts
Released 2 years ago

Updated page.path to using new API (#79)

Static Markdown components! (0.2.79)
Released 2 years ago

You can now use markdown components with npm run generate!

Other fixes/features:

And added @medfreeman and @suhogrozdje as contributors. 💯

Released 2 years ago


  • Added isStatic to Nuxt options for environments where process.env is not exposed. (Fixes #47)
Released 2 years ago


  • STATIC=true is automatically set during nuxtent generate (Fixes #44 #47)
  • Added more guards against hot module reload 404 errors (Fixes #42)
v0.2.73 (0.2.73)
Released 2 years ago
  • added hot reload guard so that hmr endpoints do not return 404 (fix #42)
  • Static assets are not requested or generated in dynamic build anymore (Fix #41)
Fetch and generate away! (0.2.59)
Released 2 years ago

New Addition

  • Added nuxtent generate command for static builds. This builds on top of nuxt generate to run the serverMiddleware during the static build. Now payload backup, which was causing problems, is not required. (Fixes #22)

Note: nuxtent-generate requires version 1.0.0 of Nuxt, but that version is not yet compatible with markdown components.

Bonus Features

  • With $content.query you can now query which data you'd like included in the page. For example, query({ exclude: 'body').
  • New request methods: $content.getOnly, which fetches specified number of pages, and $content.getBetween, which fetches pages before and after a certain page.


  • If you have multiple content types, content-api now responds with all the registered content endpoints, so that you can see if the content is being compiled and loaded, or not. (Inspired by #36)

API changes:

  • routes is now generate and accepts a string of request methods or an object with a req.method and optional req.query or req.args params. The page path for dynamic routes is now specified under the page property. (The generate property is now optional and only required for static builds.)

So the following:

content: {
  routes: [ 
      path: 'path/to/_page',
       method: 'get' 

Changes to this:

content: {
   page: 'path/to/_page',
  generate: [  
Up and running, just not fully generating (0.2.57)
Released 2 years ago

New features:

  • path is now added to page content data. This is different from permalink, as it specifies the entire file's url path, including any nested route paths.

API changes:

  • No need to mentally serialize the route name yourself anymore.routes now accepts the page route path rather than the name.
  • baseURL is now a string. You can dynamically set it using env variables.


  • Fix for multiple content types that which causing route paths to conflict (Fixes #31).


Currently there are two live versions of sites using Nuxtent nuxtent docs and ency docs, which were used for testing.

However, these sites were deployed as apps, because npm run generate does not run serverMiddleware and payload passed to nested routes does not persist if page is refreshed. Thus, we will need to submit issue for Nuxt to run it or build on top of Nuxt's generate command. Resolution will be tracked in issue

The other problem is that the usage of Nuxtent markdown components are only fully compatible with alpha 3 version of Nuxt until issue is fixed.

Released 2 years ago


  • Added special handling of index route for static route generation.
Released 2 years ago


Get them all - just not everywhere (0.2.31)
Released 2 years ago


  • Fixed getAll so that payload is passed to route upon static generation. But discovered bug (or feature?) in Nuxt that causes conflict when a payload is passed to top route and a separate payload is passed to its children ( Until this is fixed, all features of Nuxtent will only be available in running apps.
  • Made sure API request is made for server builds. Added option to pass iS_STATIC=true so that it is not requested in static server build. (Fixes

API changes

  • routeName is now used as routes, which is an array that accepts object route configurations. Each object requires the route's name as and the API request method as route.method.
  • permalink now only specifics the ending url params, as the content path will be prefixed by the page directory it is found under if any. This was necessary in order to have get and getAll payloads work together.
Caught the bug, under the section (0.2.26)
Released 2 years ago
  • Fixed loader handling of directory options when root files have nested sections, which made it try to fetch
  • Adding to the above fix, improved loader regex matching of section, to only get closest subsection, so that users can nest content as they please.
On road to HMR (0.2.19)
Released 2 years ago


  • HMR status: Made page fetch fresh content every time in development mode. Just need to find a way to make async data prefetch content… Currently, HMR only works for markdown components because they use loaders.


  • Made mardown-it anchor plugin only create anchors for configured heading level.
  • Made it so anchors are only parsed in md files, not ymal files.
Released 2 years ago
Anchor up! (0.2.16)
Released 2 years ago

New feature:

  • Effortless content navigation: Along with a page's permalink, content data now also have the anchor property, which represents the heading anchors extracted from md files. By default, H1 is converted to anchors, but you can configure this via the anchorsLevel property under the config's content property. (

API changes:

  • parser configuration property is renamed to parsers.


23 releases found.