We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0a681c commit 4dd8306Copy full SHA for 4dd8306
src/templates/meta/runtime.ts.tpl
@@ -17,7 +17,7 @@ export const patchRoutes = ({ routes }) => {
17
const routeMeta = getRouteMetaById(route.id, { syncOnly: true });
18
19
if (routeMeta) {
20
- if (process.env.NODE_ENV === 'production' && (route.meta?.frontmatter?.debug || routeMeta.debug)) {
+ if (process.env.NODE_ENV === 'production' && (route.meta?.frontmatter?.debug || routeMeta.frontmatter?.debug)) {
21
// hide route in production which set hide frontmatter
22
delete routes[route.id];
23
} else {
0 commit comments