JSFiddle - React, Tailwind, and code Playground
JavaScript
const prerenderManifest = {
"version": 2,
"routes": {
"/cat": {
"initialRevalidateSeconds": 1,
"srcRoute": "/[type]",
"dataRoute": "/_next/data/XK2rWXbhi4kfIMuLw8JFX/cat.json"
},
"/dog": {
"initialRevalidateSeconds": 1,
"srcRoute": "/[type]",
"dataRoute": "/_next/data/XK2rWXbhi4kfIMuLw8JFX/dog.json"
},
"/cat/one": {
"initialRevalidateSeconds": 1,
"srcRoute": "/[type]/[slug]",
"dataRoute": "/_next/data/XK2rWXbhi4kfIMuLw8JFX/cat/one.json"
},
"/cat/two": {
"initialRevalidateSeconds": 1,
"srcRoute": "/[type]/[slug]",
"dataRoute": "/_next/data/XK2rWXbhi4kfIMuLw8JFX/cat/two.json"
},
"/dog/two": {
"initialRevalidateSeconds": 1,
"srcRoute": "/[type]/[slug]",
"dataRoute": "/_next/data/XK2rWXbhi4kfIMuLw8JFX/dog/two.json"
},
"/dog/one": {
"initialRevalidateSeconds": 1,
"srcRoute": "/[type]/[slug]",
"dataRoute": "/_next/data/XK2rWXbhi4kfIMuLw8JFX/dog/one.json"
}
},
"dynamicRoutes": {
"/[type]": {
"routeRegex": "^/([^/]+?)(?:/)?$",
"dataRoute": "/_next/data/XK2rWXbhi4kfIMuLw8JFX/[type].json",
"fallback": false,
"dataRouteRegex": "^/_next/data/XK2rWXbhi4kfIMuLw8JFX/([^/]+?)\\.json$"
},
"/[type]/[slug]": {
"routeRegex": "^/([^/]+?)/([^/]+?)(?:/)?$",
"dataRoute": "/_next/data/XK2rWXbhi4kfIMuLw8JFX/[type]/[slug].json",
"fallback": false,
"dataRouteRegex": "^/_next/data/XK2rWXbhi4kfIMuLw8JFX/([^/]+?)/([^/]+?)\\.json$"
}
},
"preview": {
"previewModeId": "ccd213ed9d59bdf538471b457838dbe9",
"previewModeSigningKey": "2ade7f92c98e62699bc01c9feb84236d97f7a56e1c8ec04b17f606630d9da5d9",
"previewModeEncryptionKey": "fb1a6c618341dbf91f70d5ca482c6e635c3c6c2cad805a279e7cfc6e8ed185aa"
}
}
const manifest = {
"buildId": "XK2rWXbhi4kfIMuLw8JFX",
"logLambdaExecutionTimes": false,
"pages": {
"ssr": {
"dynamic": {
"/test/:slug": {
"file": "pages/test/[slug].js",
"regex": "^\\/test(?:\\/([^\\/#\\?]+?))[\\/#\\?]?$"
},
"/:type": {
"file":...