swissmexxa
swissmexxa
yes, same issue here.
@pi0 so how would this look like? Version of @jony1993 is not working. I'm using Nitro with Nuxt3
@MiniDigger Could you share the code of your plugin you mentioned above?
@MiniDigger Thank you very much for your example @lxccc812 This file would be placed inside the server/plugins folder. The defineCachedEventHandler function has an option object as second parameter where you...
@lxccc812 Define your routeRules directly in the root of your nuxt.config object and not under nitro. I made a stackblitz example for you: https://stackblitz.com/edit/github-v24i7v-dipodp You can call any sub route...
@lxccc812 I made you another stackblitz including an example of MiniDigger: https://stackblitz.com/edit/github-v24i7v-kkln93 You have the same behavior from the stackblitz of the previous comment but now there is additional code...
@lxccc812 with this ``` const enHandler = handlerList.find( (r) => r.route === '/a' || r.route === '/b' ); ``` you search an element in a list where route is either...