Commit Graph

202 Commits

Author SHA1 Message Date
Daniel Roe
5d79ed5f9e
feat(nuxt): allow passing transition & keepalive props to <NuxtPage> (#7492) 2022-09-14 12:34:16 +02:00
Daniel Roe
5893dc201f
fix(nuxt): augment GlobalComponents from @vue/runtime-core (#7448) 2022-09-12 15:40:44 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production (#7313) 2022-09-07 13:32:10 +02:00
Kévin Schnekenburger
4bd1be9174
feat(nuxt): allow extending routes with custom alias (#7074)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 09:53:01 +02:00
pooya parsa
ac56ce7dd1
feat(nuxt): router with hash mode (#6980) 2022-09-04 10:11:28 +02:00
Daniel Roe
720506d263
feat(nuxt): custom history and routes for app/router.options.ts (#7129)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-04 09:42:47 +02:00
renovate[bot]
e38e1de740
refactor: apply lints from @nuxtjs/eslint-config-typescript v11 (#7114)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-31 20:34:17 +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
fc82b3b340
feat(nuxt): config options for default keepalive, page & layout transitions (#5859) 2022-08-23 16:24:20 +02:00
Anthony Fu
fd94351ee9
refactor(nuxt)!: rename autoImports to imports (#6864)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 16:22:11 +02:00
Daniel Roe
cfb7e59171
feat(nuxt): add warning in dev mode if layouts/pages do not have a single root node (#5469) 2022-08-23 12:25:48 +02:00
Daniel Roe
aab90efc19
fix(nuxt): throw hard error on initial spa load if aborted (#6857) 2022-08-23 10:42:54 +02:00
Anthony Fu
e1e39b7e79
refactor(nuxt, kit): improve type strictness (#6685) 2022-08-22 12:12:02 +02:00
Daniel Roe
94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
Anthony Fu
d2094ea37a
refactor(vite): enable strict type checking (#6616) 2022-08-15 15:40:06 +02:00
Anthony Fu
f350a70775
refactor(nuxt): enable strict type checking (#6368)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
pooya parsa
3e27c1c52b
fix(nuxt): interopDefault for page component imports (#6468) 2022-08-09 20:25:35 +02:00
pooya parsa
4ec68db323
fix(nuxt): do not log 404 and showError as fatal by default (#6437) 2022-08-08 14:11:50 +02:00
Daniel Roe
60656dfa2c
fix(nuxt): remove side-effect imports from page metadata (#6376) 2022-08-05 18:35:38 +02:00
Daniel Roe
1f00a9f011
fix(nuxt): make route provided to page children reactive (#6349) 2022-08-04 13:30:18 +02:00
Daniel Roe
f75d0dfd47
fix(nuxt): extract component to provide route (#6325) 2022-08-03 12:38:46 +02:00
Daniel Roe
c72093b1f2
fix(nuxt): separate routes for different suspense forks (#6275) 2022-08-02 11:58:03 +02:00
Daniel Roe
96cfe01973
fix(nuxt): do not allow catchalls to have child routes (#6257) 2022-08-01 09:51:46 +02:00
Daniel Roe
78618f1f21
feat(nuxt): improve error dx for users (#4539)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 16:29:03 +02:00
Daniel Roe
8f7b9f904e
fix(pages): ignore expression delimiters within quotes (#6033)
* fix(pages): ignore expression delimiters within quotes

* perf: use re

* test: add test that would have failed
2022-07-21 15:49:48 +02:00
Daniel Roe
fa8b0f7c79
feat(vite)!: upgrade vite to v3 (#5398) 2022-07-21 12:44:33 +02:00
pooya parsa
56a3f1b615
fix(nuxt): extend nitro routes instead of overriding (#5828) 2022-07-12 12:56:40 +02:00
Francisco Buceta
38e0fa6e1e
feat(nuxt3): support custom prop for <nuxt-link> (#4249)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-07-07 19:28:23 +02:00
Daniel Roe
271262e10a
feat(nuxt): prerender all pages by default (#5709) 2022-07-07 17:07:37 +02:00
Daniel Roe
8c2c80e43e
feat(nuxt)!: support universal global middleware (#5038) 2022-06-27 14:10:29 +02:00
Jaemin Choi
95b38e241d
fix(nuxt): don't add macro query to the end of id (#5413)
* fix(nuxt): don't add macro query to the end of id

* Update packages/nuxt/src/pages/macros.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-12 23:46:31 +02:00
Daniel Roe
fbcbac01d6
fix(nuxt): don't debounce watcher and include layers (#5002) 2022-06-10 16:50:47 +02:00
Daniel Roe
f6bf4f7559
fix(nuxt): throw an error when using unknown route middleware (#5323) 2022-06-10 15:35:58 +02:00
Daniel Roe
970758e050
revert(nuxt): revert router hotfix #4983 (#5394) 2022-06-10 15:15:53 +02:00
Daniel Roe
93f6a1e4ca
fix(vite, kit, nuxt): generate safe variable names using knitwork (#4906) 2022-06-10 15:12:21 +02:00
Daniel Roe
27a0084b6c
fix(nuxt): keep route param optionality when sibling is an index (#5300) 2022-06-09 15:03:08 +02:00
Daniel Roe
b31186b658
fix(nuxt): sort routes with dynamic params at the end (#4983) 2022-06-09 14:09:34 +02:00
Daniel Roe
eb12c7a845
fix(nuxt): support RouterView props in NuxtPage (#5272) 2022-06-03 16:01:46 +02:00
Julien Huang
4e53af3e99
fix(nuxt): fix router redirection on aliased pages (#4982) 2022-05-20 11:15:57 +02:00
Daniel Roe
46c656c4b8
fix(nuxt): check for 404s after user middleware (#4913) 2022-05-12 11:13:38 +02:00
Sébastien Chopin
9e5a3cdc6f
fix(nuxt): avoid redirect with different encoding and trailing slash (#4857)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-06 18:02:50 +02:00
Daniel Roe
b29f635646
fix(nuxt): normalise window location for universal router (#4841) 2022-05-06 13:02:35 +02:00
Daniel Roe
27d67360e4
fix(nuxt): clear errors after navigation (#4839) 2022-05-06 12:50:54 +02:00
pooya parsa
ebc27ce997
fix(nuxt): ensure url is not empty string (#4781) 2022-05-05 22:46:54 +02:00
Daniel Roe
f74a523f13
fix(nuxt): use router.resolve to resolve initial url (#4770) 2022-05-03 11:31:58 +02:00
Daniel Roe
4826918ed0
fix(nuxt): process middleware after plugins (#4645) 2022-05-02 12:00:08 +02:00
Daniel Roe
ab3971d302
fix(nuxt): use suspense for child pages on client-side navigation (#4677) 2022-04-29 11:37:49 +02:00
Daniel Roe
2bfd749c24
feat(pages)!: explicitly allow optional params with [[ (#4537) 2022-04-26 18:10:05 +02:00
Anthony Fu
46ecbc558d
fix(nuxt): await for router.push on ssr (#4491) 2022-04-22 17:37:52 +02:00
Daniel Roe
650d12fa9c
feat: allow disabling sourcemap generation (#4509) 2022-04-22 17:35:42 +02:00
Daniel Roe
d0ae5851e4
fix(nuxt): return 404 if hitting 404.vue (#4460)
* fix(nuxt): return 404 if hitting `404.vue`

* docs: add info about `pages/404.vue`
2022-04-20 16:24:08 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00