@lg2/nuxt3-module-create-dato-map
v0.0.17
Published
nuxt3-module-create-dato-map
Downloads
109
Readme
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" }
}
}