Commit Graph

350 Commits

Author SHA1 Message Date
Daniel Roe 4c5048826c
fix(nuxt): don't disable scripts in dev mode with experimental `noScripts` (#7745) 2022-09-26 11:52:43 +02:00
Daniel Roe c0e99c7273
fix(nuxt): respect `baseURL` when rendering payload path (#7809) 2022-09-26 11:16:34 +02:00
菜狗 a68a7fe07d
refactor(nuxt): use `unref` in `fetch.ts` (#7813) 2022-09-26 11:13:30 +02:00
chenying 30277da960
refactor(nuxt): use `unref` in `layout.ts` (#7818)
Co-authored-by: chenying <1770365139@qq.com>
2022-09-26 11:12:20 +02:00
Daniel Roe 2894a75bc8
fix(nuxt): respect immediate option in `useFetch` (#7720) 2022-09-22 15:55:29 +02:00
Daniel Roe b68cf0706d
fix(nuxt): do not warn for non-existent default layout (#7748) 2022-09-22 15:54:55 +02:00
Daniel Roe 1c26e07141
feat(nuxt): support `redirect` within page metadata (#7746) 2022-09-22 15:54:34 +02:00
renovate[bot] aec2e02bd3
chore(deps): update all non-major dependencies (#7741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-22 15:52:55 +02:00
Daniel Roe a9a8571e35
fix(nuxt): export and auto-import `clearNuxtData` (#7710) 2022-09-21 11:53:38 +02:00
pooya parsa 6309d223bb
v3.0.0-rc.11 (#7565) 2022-09-20 18:38:31 +02:00
Pooya Parsa dd303536b0 chore(deps): bump nitropack to 0.5.4 2022-09-20 12:55:39 +02:00
Daniel Roe 98ce2e6492
fix(nuxt): only observe tag elements for `<NuxtLink>` prefetching (#7679) 2022-09-20 11:29:22 +02:00
Daniel Roe 347abcd065
fix(nuxt): strip non-`.vue` extensions from component types (#7673) 2022-09-20 10:54:46 +02:00
renovate[bot] 334e2aba4b
chore(deps): update all non-major dependencies (#7674)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 10:49:39 +02:00
renovate[bot] df72a3eb34
chore(deps): update all non-major dependencies (#7649) 2022-09-20 10:20:03 +02:00
Daniel Roe f8a23564c3
fix(nuxt): don't treeshake client-only fallback templates (#7659) 2022-09-20 08:24:45 +02:00
Julien Huang c4fe8525ef
fix(nuxt): add missing `process.client` for early redirect in navigateTo (#7625) 2022-09-19 10:54:35 +02:00
renovate[bot] fc41df04a5
chore(deps): update all non-major dependencies (#7561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 10:46:33 +02:00
pooya parsa 1ebdef77a6
fix(nuxt): keep `state` in the initial state instead of extracting it (#7567) 2022-09-16 12:49:00 +02:00
Daniel Roe c1ed6ecc3c
fix(nuxt): load payload after middleware and once final route is resolved (#7574) 2022-09-16 12:15:10 +02:00
pooya parsa 5605f1ce18
feat: allow disabling payload extraction (#7588) 2022-09-16 12:14:41 +02:00
pooya parsa b933015850
feat(kit): `useNitro()` utility (#7557) 2022-09-15 18:10:50 +02:00
pooya parsa 4b4558c2be
fix(nuxt): remove modulepreload for spa fallback routes with `ssr:true` (#7553) 2022-09-15 14:20:16 +02:00
Daniel Roe 5855ba4684
fix(nuxt): pass fully resolved path to nitro dist files (#7494) 2022-09-15 13:24:43 +02:00
renovate[bot] d882d36805
chore(deps): update dependency vue-bundle-renderer to ^0.4.3 (#7546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-15 12:53:32 +02:00
Daniel Roe 3ed63a6b70
fix(nuxt): do not pass prefetched class to custom link (#7522) 2022-09-15 09:52:21 +02:00
pooya parsa 6e18237e7a
fix(nuxt): disable payload extraction for spa generated pages (#7535) 2022-09-15 09:31:55 +02:00
renovate[bot] 471097cbe6
chore(deps): update all non-major dependencies (#7508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 19:29:21 +02:00
pooya parsa 94377b1901
v3.0.0-rc.10 (#7374) 2022-09-14 18:27:11 +02:00
pooya parsa 9ee5ca2b47
feat(nuxt): generate spa fallback for `nuxt generate` (#7507) 2022-09-14 17:16:24 +02:00
pooya parsa 9024d76165
fix(nuxt): add `payload.client` plugin only for production build (#7498) 2022-09-14 15:01:02 +02:00
pooya parsa ac0b3a63a2
feat(nuxt, kit): auto import `defineNuxtConfig` (#7497) 2022-09-14 13:10:10 +02:00
pooya parsa 3a60bf69ce
perf(nuxt): import `defineNuxtConfig` from `nuxt/config` (#7485) 2022-09-14 12:37:30 +02:00
Daniel Roe 5d79ed5f9e
feat(nuxt): allow passing transition & keepalive props to `<NuxtPage>` (#7492) 2022-09-14 12:34:16 +02:00
Daniel Roe ee75b48526
refactor(nuxt): use relative imports into composables (#7487) 2022-09-14 11:22:03 +02:00
Daniel Roe 40d090745b
fix(nuxt): only delete assets when building (#7486) 2022-09-13 23:57:58 +02:00
Alex Liu addcb5cd47
feat(nuxt): support prefetching `<nuxt-link>` (#4329)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00
renovate[bot] 65481d4d3d
chore(deps): update all non-major dependencies (#7476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 20:57:14 +02:00
Daniel Roe 31de18100c
perf(nuxt): only inject preload helper when webpack is used (#7460) 2022-09-13 12:57:14 +02:00
renovate[bot] 1be5e4170b
chore(deps): update dependency strip-literal to ^0.4.1 (#7462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 12:55:12 +02:00
Daniel Roe 3753ea0ead
feat(nuxt): add `workspaceDir` option and add it to `modulesDir` (#7439) 2022-09-12 22:06:17 +02:00
pooya parsa ceb61ada2b
refactor(schema): upgrade to untyped 0.5 (#7452) 2022-09-12 20:22:41 +02:00
Daniel Roe 13dc0b94c4
feat(nuxt): allow exposing type augmentations from extends layers (#7442) 2022-09-12 15:41:15 +02:00
Daniel Roe 5893dc201f
fix(nuxt): augment GlobalComponents from `@vue/runtime-core` (#7448) 2022-09-12 15:40:44 +02:00
Daniel Roe 46240a8c14
test(nuxt): add tests for import protection plugin (#7416) 2022-09-12 11:23:37 +02:00
Daniel Roe 563cf7c1c9
fix(nuxt): use more specific `FetchError` for `useFetch` errors (#7435) 2022-09-12 11:23:19 +02:00
pooya parsa 888bd7c145
feat(nuxt): payload rendering support (#6455)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00
renovate[bot] 674b53b3f9
chore(deps): update all non-major dependencies (#7383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-10 15:39:55 +02:00
Daniel Roe 9abc7a2122
fix(nuxt): do not apply import protection to top-level resolution (#7344) 2022-09-10 13:51:17 +02:00
Daniel Roe 83949c3734
fix(nuxt): always inline entry styles (#7386) 2022-09-10 11:43:17 +02:00