@lg2/nuxt3-module-create-dato-map

0.0.17 • Public • Published

nuxt3-module-create-dato-map

  yarn add @lg2/nuxt3-module-create-dato-map -D
  npm i @lg2/nuxt3-module-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" }
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @lg2/nuxt3-module-create-dato-map

Weekly Downloads

37

Version

0.0.17

License

ISC

Unpacked Size

3.81 kB

Total Files

3

Last publish

Collaborators

  • romain_prache
  • romainavalle-lg2
  • lpfavreau