DANANZ M1
Layered Nuxt apps: How to remove routeRules defined in a base layer from an extending layer?
Okay, I'm working with layered Nuxt applications. I have
app1
which is the base layer, and app2
which extends app1
. In app1
, I've configured several routeRules
in the nuxt.config.ts
. Now, in app2
, I want to effectively remove or override some of the routeRules
that were set in app1
. How can I achieve this?
For example, if app1
has a routeRules
entry like this:
In app2
, I want to somehow disable or remove the /some-path
redirect rule that was defined in app1
. Crucially, I don't want to have to explicitly list each path I want to remove in app2
(like telling Nuxt hooks to ignore '/some-path'). I'm looking for a more automatic way for app2
to override or discard specific routeRules
from app1
without manual intervention for each rule I want to discard. What's the recommended approach for this in a layered setup?5 replies
why nuxt ignores my head tags when using ssr:false?
I saw that this PR: https://github.com/nuxt/framework/pull/8975
should use the head tags for ssr:false pages but its not working in my case, its only taking fallbacks from the nuxt.config.ts file
9 replies
Why does Nuxt Dev Tools does not have the ability to inspect a component's state ?
I remember Vue 2 had a great dev tools that could preview each component state like data and props and computeds, I've tried looking this feature in Nuxt devtools but it doesnt have it, and Vue 3 devtools are not working anymore.
4 replies