Commit Graph

297 Commits

Author SHA1 Message Date
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 45f39be4fa
fix(nuxt): pass analyze options through to nitro (#6871) 2022-08-23 15:54:39 +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
TheColaber 9f1ecd14c4
feat(nuxt): allow `getRouteFromPath` to use objects (#5900) 2022-08-22 18:08:43 +02:00
renovate[bot] ede727d1ba
chore(deps): update dependency vue-router to ^4.1.4 (#6844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 16:44:21 +02:00
Anthony Fu e1e39b7e79
refactor(nuxt, kit): improve type strictness (#6685) 2022-08-22 12:12:02 +02:00
renovate[bot] cdc75373d4
chore(deps): update dependency mlly to ^0.5.14 (#6830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 11:25:19 +02:00
pooya parsa 3b2b22e384
fix(nuxt): use deep assignment for app.config hmr (#6788) 2022-08-22 11:14:25 +02:00
Daniel Roe 80abca9d2a
fix(nuxt): ensure component helper methods do not create side-effects (#6789) 2022-08-22 10:50:11 +02:00
renovate[bot] aeeeef5b95
chore(deps): update all non-major dependencies (#6746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 14:12:07 +02:00
Julien Huang c688e1898c
fix(nuxt): pass params to client-only slot (#6584) 2022-08-17 17:26:51 +02:00
pooya parsa 94f76ea930
feat(nuxt): `app.config` with hmr and reactivity support (#6333)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-17 17:23:13 +02:00
Daniel Roe 405629dc35
fix(nuxt): use `vue-devtools-stub` to mock `@vue/devtools-api` for both cjs + esm (#6713) 2022-08-17 16:44:36 +02:00
Anthony Fu 69c281f384
fix(nuxt): fallback to static error page on server error (#6697)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-17 11:14:00 +02:00
renovate[bot] f33516612c
chore(deps): update dependency defu to ^6.1.0 (#6687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 18:54:02 +02:00
renovate[bot] 43d331ee47
chore(deps): update dependency defu to ^6.0.1 (#6678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 15:22:32 +02:00
Julien Huang a3a8706e43
fix(nuxt): include tag attrs for non self-closing tags in tree-shake regex (#6675)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-16 15:22:10 +02:00
Daniel Roe 94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
Daniel Roe 33e7fc1752
fix(nuxt): don't set asyncData to existing payload on CSR if `initialCache` is disabled (#6640) 2022-08-15 15:55:46 +02:00
Anthony Fu d2094ea37a
refactor(vite): enable strict type checking (#6616) 2022-08-15 15:40:06 +02:00
Daniel Roe 8a28c430b0
fix(nuxt): add `#components` alias to tsconfig (#6634) 2022-08-15 15:10:08 +02:00
renovate[bot] 47eaaa1a78
chore(deps): update all non-major dependencies (#6576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-13 08:44:26 +02:00
Daniel Roe 2ec2d9b484
fix(nuxt): remove stray commas in component templates (#6580) 2022-08-12 21:59:08 +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 3960f513c3
v3.0.0-rc.8 (#6526) 2022-08-12 15:35:33 +02:00
Pooya Parsa 3c3adb779d chore(deps): update mlly and lockfile 2022-08-12 15:19:28 +02:00
renovate[bot] 38cd67d962
chore(deps): update all non-major dependencies (#6552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 13:05:32 +02:00
Daniel Roe 70b024fbaa
fix(vite, nuxt): resolve relative to `srcDir` rather than `rootDir` (#6546) 2022-08-12 11:11:09 +02:00
pooya parsa b0bf25cf51
fix(nuxt): tree-shake devtools from production bundle (#6538) 2022-08-12 00:33:21 +02:00
renovate[bot] 21c5a7579e
chore(deps): update all non-major dependencies (#6537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 00:27:19 +02:00
pooya parsa 24a499d285
fix(nuxt)!: allow `app:rendered` to modify ssr context and add `render:html` (#6521) 2022-08-11 18:34:39 +02:00
pooya parsa 5ea0474225
v3.0.0-rc.7 (#6375) 2022-08-11 12:40:11 +02:00
Pooya Parsa f356d037e5 chore: update lockfile and nitropack 2022-08-11 10:33:01 +02:00
renovate[bot] 5db559be13
chore(deps): update all non-major dependencies (#6492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 10:03:34 +02:00
Daniel Roe 5aa7288d97
fix(nuxt): log fatal errors as well as unhandled ones (#6488) 2022-08-10 17:47:23 +02:00
Daniel Roe 408febada4
refactor(nuxt)!: remove `null` handling for `titleTemplate` (#6487) 2022-08-10 17:46:46 +02:00
renovate[bot] cafd3938ed
chore(deps): update dependency mlly to ^0.5.9 (#6485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 17:00:35 +02:00
renovate[bot] cd5c88d19f
chore(deps): update all non-major dependencies (#6478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 14:10:03 +02:00
Daniel Roe 5232c1b5b4
fix(nuxt): immediately call `asyncData` handler (#6472) 2022-08-09 23:48:48 +02:00
renovate[bot] fe26b943cc
chore(deps): update dependency nitropack to ^0.4.18 (#6471)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 23:19:16 +02:00
pooya parsa 3e27c1c52b
fix(nuxt): interopDefault for page component imports (#6468) 2022-08-09 20:25:35 +02:00
renovate[bot] bf3511c2c3
chore(deps): update dependency nitropack to ^0.4.16 (#6467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 20:05:26 +02:00
Gregor Becker 0b22079409
fix(nuxt): ensure component dirs in `node_modules` have lower scanning priority (#6382) 2022-08-09 11:13:54 +02:00
YuTin Liu 03cd6717ce
fix(nuxt): handle immediate errors when calling `useAsyncData` (#6441) 2022-08-09 10:01:25 +02:00
renovate[bot] 1f32fdb569
chore(deps): update dependency unenv to ^0.5.3 (#6447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 22:14:57 +02:00
Anthony Fu 57f9a51c18
chore(deps): upgrade unplugin (#6429) 2022-08-08 22:12:07 +02:00
pooya parsa c954dcb9e9
feat(nuxt): update nitropack to latest (#6442)
* feat(nuxt): update nitropack

* update renderer to use defineRenderHandler

* update
2022-08-08 21:12:15 +02:00
renovate[bot] 745d6115d2
chore(deps): update all non-major dependencies (#6443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 21:12:04 +02:00
Daniel Roe 46f36a4038
fix(nuxt): use payload error state as source of truth (#6389) 2022-08-08 16:33:31 +02:00
renovate[bot] 0cbba77011
chore(deps): update dependency h3 to ^0.7.14 (#6440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 15:40:26 +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
renovate[bot] e25b7542b8
chore(deps): update all non-major dependencies (#6431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 13:26:36 +02:00
Daniel Roe e3b0608470
fix(kit): move relative path handling back into nuxt templates (#6430) 2022-08-08 13:03:44 +02:00
Daniel Roe 9971fade76
chore: revert unplugin upgrade (#6415) 2022-08-08 06:45:42 +02:00
renovate[bot] 34c7858d0a
chore(deps): update all non-major dependencies (#6391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-07 11:54:42 +02:00
Daniel Roe fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport (#6378) 2022-08-07 11:53:53 +02:00
Daniel Roe 41d6f372a7
feat(nuxt): update to `vue-bundle-renderer@0.4` (#6210) 2022-08-07 11:52:34 +02:00
Daniel Roe 4623525f3f
fix(nuxt): type `useRoute` return (#6395) 2022-08-07 06:57:11 +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 746d553249
fix(nuxt): resolve plugins and middleware to their full path (#6350) 2022-08-04 17:15:42 +02:00
renovate[bot] bc26cc6467
chore(deps): update all non-major dependencies (#6362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 17:15:24 +02:00
Daniel Roe 1f00a9f011
fix(nuxt): make route provided to page children reactive (#6349) 2022-08-04 13:30:18 +02:00
renovate[bot] 6d64aff6f2
chore(deps): update dependency unctx to v2 (#6340)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-04 13:00:01 +02:00
Daniel Roe 4732d2ce3a
fix(nuxt): better equality check for json cookies (#6352) 2022-08-04 12:58:15 +02:00
renovate[bot] d8cdd97f02
chore(deps): update dependency ohash to ^0.1.5 (#6354)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:56:28 +02:00
renovate[bot] 079e09ea4b
chore(deps): update all non-major dependencies (#6353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:52:10 +02:00
renovate[bot] 0f5eceb81b
chore(deps): update dependency mlly to ^0.5.7 (#6339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 19:31:49 +02:00
renovate[bot] db819a08d3
chore(deps): update dependency mlly to ^0.5.6 (#6334)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 15:48:38 +02:00
Daniel Roe fbe2459255
fix(nuxt): remove literal `<script setup>` from comment (#6331) 2022-08-03 13:49:09 +02:00
Daniel Roe f75d0dfd47
fix(nuxt): extract component to provide route (#6325) 2022-08-03 12:38:46 +02:00
pooya parsa 000d81d760
fix(nuxt): generate `200.html` and `404.html` spa fallback files (#6308) 2022-08-02 18:45:44 +02:00
Daniel Roe 4379e9d922
feat(nuxt): add `setResponseStatus` utility (#6306) 2022-08-02 18:01:59 +02:00
Julien Huang 2cdaf8065c
feat(nuxt): remove wrapper from client only components (#6165)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-02 17:05:02 +02:00
Sanjaiyan Parthipan 94d0c08066
feat(nuxt): add `fetchpriority` attribute and literal typings for meta components (#6251) 2022-08-02 14:08:01 +02:00
Harlan Wilton 622c976cec
fix(nuxt): render head scripts that use `body: true` (#6293)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-02 13:43:25 +02:00
renovate[bot] 7cc636ad93
chore(deps): update all non-major dependencies (#6241) 2022-08-02 13:42:26 +02:00
Harlan Wilton aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate (#6296) 2022-08-02 13:20:44 +02:00
Daniel Roe c72093b1f2
fix(nuxt): separate routes for different suspense forks (#6275) 2022-08-02 11:58:03 +02:00
Daniel Roe b12fe7eb7c
fix(nuxt): narrow `nuxt.config` import protection (#6279) 2022-08-01 19:25:31 +02:00
Daniel Roe 96cfe01973
fix(nuxt): do not allow catchalls to have child routes (#6257) 2022-08-01 09:51:46 +02:00
Kevin Marrec 5a042cd69b
feat(nuxt): extends support for `app.vue` (#6228) 2022-07-29 13:12:50 +02:00
renovate[bot] 8f65664ac0
chore(deps): update all non-major dependencies (#6223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:42:57 +02:00
renovate[bot] 3fa32b9c22
chore(deps): update all non-major dependencies (#6173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:40:44 +02:00
Daniel Roe 748b063afa
fix(nuxt): don't call renderMeta if it is not defined (#6201)
* fix(nuxt): don't call renderMeta if it is not defined

* fix: check for nuxt existence as well
2022-07-28 15:11:47 +02:00
Daniel Roe 4e2667fcb7
feat(nuxt): add support for `components/global` (#6070)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
Daniel Roe 1230268a7b
fix(nuxt): allow `useHead` to accept computed values (#6174) 2022-07-27 13:25:43 +02:00
pooya parsa f58aa8114f
feat(nuxt): `app:rendered` and `app:response` hooks (#6042) 2022-07-27 11:53:53 +02:00
renovate[bot] 71b40a109f
chore(deps): update all non-major dependencies (#6131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 15:41:31 +02:00
Victor Saa 5d023a80df
feat(nuxt, schema): add `<NoScript>` component and `noscript` typings (#6139) 2022-07-26 15:41:01 +02:00
hecateball e08a493bac
fix(nuxt): add error event declaration to the `<NuxtErrorBoundary>` component (#6141) 2022-07-26 15:36:58 +02:00
David Tai 3a822c7177
refactor(nuxt): enhance `useFetch` and `useLazyFetch` request type (#4825)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Thomas 210cf30691
fix(nuxt): normalize manifest css file entries (#6112) 2022-07-25 14:05:58 +02:00
renovate[bot] 02b01013df
chore(deps): update all non-major dependencies (#6074) 2022-07-25 12:15:13 +02:00
Daniel Roe 6c125bc941
fix(nuxt): don't ignore components dirs with same prefix (#6116) 2022-07-25 12:13:54 +02:00
Anthony Fu 416f98b6b4
fix(nuxt): auto import for components with external template (#6053) 2022-07-22 10:28:16 +02:00
Anthony Fu d453729c75
fix(types): generate relative path in `imports.d.ts` (#6054) 2022-07-22 09:30:29 +02:00
Anthony Fu d135608ef0
fix(nuxt): use relative path to generate plugin variables (#6030)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 20:09:27 +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
Anthony Fu 1a862526fe
perf(nuxt): transform `#imports` to improve tree-shaking (#5763) 2022-07-21 16:27:23 +02:00