Commit Graph

14 Commits

Author SHA1 Message Date
Anthony Fu f209158352
chore: cleanup eslint rules with latest `@nuxt/eslint-config` (#26653) 2024-04-05 19:08:32 +01:00
Horu f9fe282506
feat(nuxt): add `nuxtMiddleware` route rule (#25841) 2024-03-16 11:53:01 -07:00
Joaquín Sánchez bc8a1fa614
fix(nuxt): load layer middlewares before project middlewares (#22925) 2023-09-16 09:39:51 +01:00
Alex Liu 2d46971162
fix(nuxt): ensure middleware is processed when returning `true` (#22905) 2023-08-31 10:19:26 +01:00
Lucas Vargas ffd0223583
feat(vite,webpack): tree-shakable `import.meta.*` build flags (#22428) 2023-08-07 23:03:40 +01:00
Daniel Roe 9110d41628
fix(nuxt): do not redirect when `vue-router` normalises url (#20247) 2023-04-13 03:14:44 -07:00
Daniel Roe b011d3d76f
fix(nuxt): improve handling of redirects within middleware (#20244) 2023-04-13 02:58:25 -07:00
Mathieu Magalhaes f5a3d7968c
fix(nuxt): respect redirects which differ only by trailing slash (#18593)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:26:15 -08:00
Daniel Roe 9c3bef4a01
fix(nuxt): allow `abortMiddleware` to receive a nuxt error or error options (#7335) 2022-09-08 10:52:00 +02:00
Daniel Roe b90d286631
feat(nuxt): add `setPageLayout` utility (#6826) (#7075)
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
Daniel Roe 4826918ed0
fix(nuxt): process middleware after plugins (#4645) 2022-05-02 12:00:08 +02:00
Anthony Fu 4c77c88325
feat: support async plugins and middlewares (#3884) 2022-04-01 11:55:23 +02:00
Anthony Fu 40d325e5c5
test: add more tests (#3532) 2022-03-08 19:03:21 +01:00
Daniel Roe 42373e060d
fix: clean up some type issues and add type test suite (#3199) 2022-02-15 10:50:11 +01:00