Commit Graph

2938 Commits

Author SHA1 Message Date
Mahdi Boomeri f76c0fe450
docs(schema): change srcDir example to `src/` (#7503) 2022-09-14 17:25:07 +02:00
pooya parsa 9ee5ca2b47
feat(nuxt): generate spa fallback for `nuxt generate` (#7507) 2022-09-14 17:16:24 +02:00
renovate[bot] b8cb206dd0
chore(deps): update dependency c12 to ^0.2.12 (#7506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 17:16:06 +02:00
Pooya Parsa fd982185ee test: skip useAsyncData for windows due to ci unstability 2022-09-14 17:11:00 +02:00
Adewale Abati efc6c83cc0
docs: update codesandbox link (#7499) 2022-09-14 15:13:17 +02:00
Clément Ollivier a6232667c2
docs(getting-started): add routing page (#7495)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-09-14 15:12:47 +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
renovate[bot] aaac46980c
chore(deps): update all non-major dependencies (#7488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 12:41:49 +02:00
pooya parsa c98e5c774d perf: enable `treeshakeClientOnly` flag by default (#7484) 2022-09-14 12:41:12 +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 7685c5948f
ci: crawl docs site for new deployments to track broken links (#7473) 2022-09-13 18:06:15 +02:00
Daniel Roe 4e604f664d
docs: update name of the generated `imports.d.ts` file (#7474) 2022-09-13 17:35:38 +02:00
Clément Ollivier 944bba97ca
docs: update structure (#7047)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 14:54:31 +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 9382b42d7b
fix(vite): don't fail builds for virtual modules that don't support inlining (#7440) 2022-09-12 17:14:11 +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 8bccdf44e8
docs: fix typo (#7437) 2022-09-12 12:42:42 +02:00
Krutie Patel 9f1ac4f201
docs(api): add `useRuntimeConfig` page (#7406)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-12 12:29:42 +02:00
renovate[bot] e2daa50960
chore(deps): update all non-major dependencies (#7427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-12 12:17:38 +02:00
Daniel Roe d5078168be
fix(vite): use same asset filenames between server and client (#7436) 2022-09-12 12:12:41 +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 068e127551 test: disable payload tests for windows
(might be because of unstability)
2022-09-12 10:56:04 +02:00
Pooya Parsa fe5b1c21ae test: disable payload test for dev for now
only windows has been failed 4 times on windows/dev and not used.
2022-09-12 10:50:56 +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
pooya parsa 270055b86d
feat(cli)!: use giget 0.1x with template registry for `nuxi init` (#7404) 2022-09-10 15:37:25 +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
Daniel Roe e60d03b940
fix(nuxt): de-default layout/component imports (#7389) 2022-09-10 11:41:32 +02:00
Corey Richardson b68bfb0a24
docs: remove duplicate word (#7387) 2022-09-09 20:09:03 +01:00
Daniel Roe 0ab29f6f2a
fix(vite): write dev manifest before spa build (#7380) 2022-09-09 12:28:07 +02:00
Daniel Roe e05f8ee126
fix(nuxi): don't include an array of paths within an array (#7378) 2022-09-09 12:17:44 +02:00
renovate[bot] f698d7ad61
chore(deps): update devdependency typescript to ^4.8.3 (#7368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-09 11:54:40 +02:00
Daniel Roe e4b8c2dc88
fix(vite): warmup improvements (#7377) 2022-09-09 11:54:20 +02:00
Julien Huang 6c462b3315
docs(head): enhance usehead and fix broken links (#7364) 2022-09-08 20:54:02 +02:00
Pooya Parsa 0cc49e2a20 build(nuxi): add `node` to export conditions 2022-09-08 18:05:59 +02:00
pooya parsa e0c5907f0a
feat(nuxi): switch to `unjs/giget` for `nuxi init` (#7361) 2022-09-08 17:43:04 +02:00
Daniel Roe e22bbcc380
fix(vite): update render if it is invalidated (#7347) 2022-09-08 16:17:22 +02:00
Julien Huang 4660cc5918
docs(api): add `nuxi prepare` command (#7349) 2022-09-08 16:16:35 +02:00