Skip to content

lg2/nuxtmodule-create-dato-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

nuxtmodule-create-dato-map

  yarn add @lg2/nuxtmodule-create-dato-map -D
  npm i @lg2/nuxtmodule-create-dato-map -D

This module create a public dato-route-map.json mapping of your ~/assets/jsons/link-resolver.json once nuxt is build parsing all your routes.

example of link-resolver.json

{
  "HomePageRecord": { "name": "index" },
  "FaqPageRecord": { "name": "faq" },
  "ArticleRecord": {
    "name": "blog-slug",
    "params": { "slug": "slug" }
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published