hiimmox
[solved] beforeEnter in Nuxt3
Pretty sure route middleware behave as "beforeRouteEnter" by default, no?
https://nuxt.com/docs/guide/directory-structure/middleware#usage
ie "from" is the current route, "to" is the next one.
If you want to cancel navigation before going to "next" you could abort nav
7 replies
Not getting correct version in @nuxtjs/strapi module
Oh I see what's up, the v5 support hasn't shipped yet, even though they made the change to the README:
https://github.com/nuxt-modules/strapi/commit/f53bdf9c18123c5c26add33a81f9dab7f598a7ef (this was 2 weeks ago)
Last release was like 6 months ago https://github.com/nuxt-modules/strapi/releases/tag/v1.12.0
21 replies
Not getting correct version in @nuxtjs/strapi module
Did you install the latest version? I see "v5" in the module's source: https://github.com/nuxt-modules/strapi/blob/dev/src/module.ts#L42
21 replies