Commit Graph

227 Commits

Author SHA1 Message Date
Daniel Roe
4647d2f925
fix(nuxt): don't warn about definePageMeta in server pages (#26422) 2024-03-21 11:51:20 +00:00
Daniel Roe
4e6812d92c
fix(nuxt): don't append new route for redirect if one exists (#26368) 2024-03-20 09:54:25 +00:00
zunderbolt
7284e70de9
fix(nuxt): prevent losing pages routes on prerender (#26354) 2024-03-18 20:27:18 +00:00
Daniel Roe
87c0678f99
fix(nuxt): provide appMiddleware types with universal router 2024-03-16 15:12:49 -07:00
Daniel Roe
4925670dcd
refactor(nuxt): use addTypeTemplate for page augmentations 2024-03-16 15:09:04 -07:00
Daniel Roe
cac7454702
refactor(nuxt): rename nuxtMiddleware to appMiddleware 2024-03-16 15:03:09 -07:00
Horu
f9fe282506
feat(nuxt): add nuxtMiddleware route rule (#25841) 2024-03-16 11:53:01 -07:00
Daniel Roe
814859d769
fix(nuxt): don't generate separate chunk for stubs (#26291) 2024-03-15 17:07:38 -07:00
Daniel Roe
9bfd988ca6
feat(nuxt): enable islands if server pages/components present (#26223) 2024-03-13 07:39:35 -07:00
Daniel Roe
a04b88bfcd
fix(nuxt): generate typed routes after pages are scanned (#26206) 2024-03-12 06:28:54 -07:00
Daniel Roe
7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +00:00
Bogdan Kostyuk
230f6b4f19
feat(nuxt): client-only pages (#25037) 2024-03-06 14:38:39 +00:00
Daniel Roe
bbf4186507
fix(nuxt): resolve defu/h3 paths in type templates (#26085) 2024-03-06 12:44:33 +00:00
Julien Huang
196223c0fb
feat(nuxt): server-only pages (#24954) 2024-02-26 17:39:26 +00:00
Michael Brevard
ff1bb56e3f
perf: early return chained functions with falsy values (#25647) 2024-02-26 16:08:45 +00:00
Daniel Roe
4ca1ab7cfb
fix(nuxt): set to.name to be undefined rather than deleting entirely 2024-02-22 12:46:13 +00:00
Daniel Roe
ba6a4132bb
fix(nuxt): handle undefined paths in resolveTrailingSlashBehavior 2024-02-22 12:04:26 +00:00
Jonathan Walters
0152cf48eb
fix(nuxt): use setTimeout before scrolling when navigating (#25817) 2024-02-22 11:09:51 +00:00
Daniel Roe
4f3391fc0a
fix(nuxt): remove undefined keys in route object (#25667) 2024-02-07 10:00:19 +00:00
Daniel Roe
9dfc0c2c31
fix(nuxt): don't check page/layout usage when redirecting (#25628) 2024-02-05 11:57:49 +00:00
Bobbie Goede
3e5560ed42
perf(nuxt): clear route meta build cache when pages change (#25514) 2024-02-04 21:27:32 +00:00
Ryan Clements
21d6dcef5d
fix(nuxt): generate typed route declarations when building (#25593) 2024-02-03 23:16:42 +00:00
Bobbie Goede
50d69bff3a
fix(nuxt): fix syntax error when serializing route meta (#25515) 2024-01-31 09:54:01 +00:00
Daniel Roe
f1fe97fc8a
fix(nuxt): prioritise later items in pages:routerOptions hook (#25509) 2024-01-30 13:55:18 +00:00
Nozomu Ikuta
0d91e52211
chore(nuxt): warn if NuxtPage is not used when pages enabled (#25490) 2024-01-29 16:52:03 +00:00
Daniel Roe
407fde6765
feat(nuxt): experimentally extract route metadata at build time (#25210)
Co-authored-by: Bobbie Goede <bobbiegoede@gmail.com>
2024-01-29 16:44:54 +00:00
Daniel Roe
ecc4c8e0c5
fix(nuxt): prevent initial scroll jump when loading page (#25483) 2024-01-29 13:56:23 +00:00
Horváth Bálint
995acd9983
feat(nuxt): allow controlling view transitions in page meta (#25264) 2024-01-29 12:23:51 +00:00
Daniel Roe
b5853c977e
fix(nuxt): avoid vue-router warning with routeRule redirect (#25391) 2024-01-29 11:07:52 +00:00
Daniel Roe
a42aaecfb5
fix(nuxt): add router.options files in definite order (#25397) 2024-01-23 17:44:14 +00:00
Daniel Roe
7e375b5ed8
fix(nuxt): stop tracking suspense when error hydrating page (#25389) 2024-01-23 12:31:39 +00:00
Daniel Roe
807ead6f1a
feat(nuxt): add pages:routerOptions hook (#24922) 2024-01-18 16:06:00 +00:00
Kiarttipum Charoenpojvajana
540a5cc78b
fix(nuxt): sort pages/ files in en-US locale (#25195) 2024-01-14 11:54:23 +00:00
Inesh Bose
406b204640
fix(kit): improve types for options in addTemplate (#25109) 2024-01-12 10:47:23 +00:00
Julien Huang
fd812ef636
fix(nuxt): stop loading indicator if page keys are the same (#24931) 2024-01-05 10:07:01 +00:00
Bernhard Berger
160208009e
fix(nuxt): don't show transition on initial page load (#24935) 2024-01-02 10:00:47 +00:00
Michael Brevard
e084ee7b3a
perf(nuxt): use single iteration when normalising routes (#24946) 2023-12-29 10:17:07 +00:00
Michael Brevard
c2b94d4a16
perf(kit,schema,nuxt): refactor startsWith to array access (#24744) 2023-12-29 08:47:11 +00:00
Damian Głowala
a2ef3091e8
feat(kit,nuxt,vite,webpack): add toArray util (#24857) 2023-12-23 14:22:58 +00:00
Julien Huang
9cd6c922e5
feat(nuxt): move loading api behind hooks (#24010) 2023-12-19 10:18:10 +00:00
Alexander Lichter
70dea8b83c
feat(nuxt): add path to error.data when throwing 404 errors (#24674) 2023-12-11 20:30:59 +00:00
Harlan Wilton
ec0addd8c8
fix(nuxt): skip router middleware/redirections for islands (#24421)
Co-authored-by: julien huang <julien.huang@outlook.fr>
2023-11-29 10:11:22 +00:00
Daniel Roe
7c6b6771ab
fix(nuxt): skip prerendering all pages in hash mode (#24517)
Co-authored-by: Diorcet Yann <diorcet.yann@gmail.com>
2023-11-29 01:35:46 +01:00
Daniel Roe
09161d005d
fix(nuxt): use consistent annotations for tree-shaking (#24514) 2023-11-28 23:20:54 +00:00
Daniel Roe
b8bfa60ece
chore: import types from '#app' (#24418) 2023-11-22 22:40:02 +00:00
Aaron_Zhou
5493d60c4a
fix(nuxt): provide route component names to KeepAlive cache (#24024) 2023-11-14 16:56:31 +00:00
Daniel Roe
c1ddb359e3
chore: update to use @nuxt/eslint-config (#24209)
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00
Daniel Roe
d1306d6ebd
fix(nuxt): use shared isChangingPage util in scrollBehavior (#24091) 2023-11-02 20:51:32 +01:00
Daniel Roe
d7b1116443
perf(nuxt): use granular imports for auto-importing composables (#23951) 2023-10-30 22:05:02 +01:00
Daniel Roe
27791f4c33
perf(nuxt): remove pure annotations plugin (#24033) 2023-10-30 22:04:45 +01:00