Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

feat(nuxt): add <NuxtClientFallback> component - #8216

Merged
danielroe merged 54 commits into
nuxt:mainfrom
huang-julien:feat/clientIfFail
Mar 8, 2023
Merged

feat(nuxt): add <NuxtClientFallback> component#8216
danielroe merged 54 commits into
nuxt:mainfrom
huang-julien:feat/clientIfFail

Conversation

@huang-julien

@huang-julienhuang-julien commented Oct 15, 2022

Copy link
Copy Markdown
Member

🔗 Linked issue

resolvenuxt/nuxt#14885

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Hi 👋 , this PR adds a <ClientIfFail> component to render its children even if it fails in SSR.
If it fails, the children will only be rendered onMounted hook. An @ssr-error event will also be triggered server-side.

This PR can be improved and i'd like to have your opinion:

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@codesandbox

Copy link
Copy Markdown

CodeSandbox logoCodeSandbox logo Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify

netlifyBot commented Oct 15, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commitd3c0e69
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/635fd7cacd950400089c3693

@huang-julien
huang-julien marked this pull request as draft October 15, 2022 17:39
@huang-julien
huang-julien marked this pull request as ready for review October 15, 2022 18:26
@danielroedanielroe added enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Oct 15, 2022
Comment threadpackages/nuxt/src/components/client-if-fail-auto-id.ts Outdated
Comment threadpackages/nuxt/src/app/components/client-if-fail.mjs Outdated
@pi0

pi0 commented Oct 16, 2022

Copy link
Copy Markdown
Member

LOVE THIS!

For the naming component, I suggest using <ClientFallback>. I thought we could have more client-fallback strategies such as timeout and a more generic name could cover them.

Merging with NuxtErrorBoundary once it supported SSR error capturing, might be a really nice idea but we don't need to wait for it. Also same as ClientOnly (component vs .client) we might have more specific implementation that differs from <NuxtErrorBoundary> that is directly exposed to user-land, which might cause more logic into it.

Comment threadpackages/nuxt/src/components/client-if-fail-auto-id.ts Outdated
@huang-julien
huang-julien marked this pull request as draft October 16, 2022 11:39
@huang-julienhuang-julien changed the title feat(nuxt): add <ClientIfFail> componentfeat(nuxt): add <ClientFallback> componentOct 18, 2022
@huang-julien
huang-julienforce-pushed the feat/clientIfFail branch 3 times, most recently from 38a2f4d to 5786dd3CompareOctober 20, 2022 22:50
@huang-julien

huang-julien commented Oct 20, 2022

Copy link
Copy Markdown
MemberAuthor

This PR has been reworked to have the same behavior with ClientOnly if at least one children fail to render.

It also correctly handles the different environment (prod/dev) behavior.

At first, the PR was trying to handle only the components that has failed to render but handling it in client-side became a bit too complex. The new behavior is to render a div or its fallbackTag without any children if one child of the slot fails to render. As if we were using ClientOnly.

There's now a runtime uid for each ClientFallback based on:

  • a hash of the relative ID of the file
  • the attrs of the component
  • the number of ClientFallback in the component

@huang-julien
huang-julien marked this pull request as ready for review October 20, 2022 22:59
@huang-julien
huang-julien marked this pull request as draft October 21, 2022 20:14
@huang-julien

Copy link
Copy Markdown
MemberAuthor

Added the fallbackTag|placeholderTag and the fallback|placeholder props + the fallback slot (just like <ClientOnly>).

There's a [Vue warn]: Component <Anonymous> is missing template or render function. each time a component fails to render in ssr once build, i'm not sure if this should be documented or not.

@huang-julien
huang-julien marked this pull request as ready for review October 21, 2022 22:35
@huang-julien

huang-julien commented Oct 22, 2022

Copy link
Copy Markdown
MemberAuthor

I'm thinking about splitting the component into a server and client version to avoid having the server-side logic (ssrRender + createBuffer + parts of vue/serverRenderer + parts of @vue/shared) into the client build (dev+prod).

I wanted to use mode: 'client' in addComponent() but this automatically convert it to createClient() so it doesn't work.

Using const component = process.server ? ... : ... then export default defineComponent(component) works + extracting createBuffer to a helper file removes around 10kb from the client build.

What do you all think about this (leave it like this, apply the new suggestion or any other idea) ?

@huang-julien
huang-julien marked this pull request as draft October 24, 2022 19:48
Comment threadpackages/nuxt/src/components/client-fallback-auto-id.ts Outdated
Comment threadpackages/nuxt/src/components/client-fallback-auto-id.ts Outdated
Comment threadpackages/nuxt/src/components/client-fallback-auto-id.ts Outdated
@danielroe

Copy link
Copy Markdown
Member

The bundle test is flagging up that importing from vue/server-renderer in the client app, there are side-effects.

If possible, we should avoid importing from there, or manually mark it as without side effects to rollup.

@huang-julien

huang-julien commented Mar 7, 2023

Copy link
Copy Markdown
MemberAuthor

I think splitting it into .server/.client is a bit cleaner, it would also avoid to include 'vue/server-renderer' in the client bundle.

This is a special use case but do we need a mode such as client-no-wrapper for client side components that don't need createClientOnly() ?

@danielroedanielroe changed the title feat(nuxt): add <ClientFallback> componentfeat(nuxt): add <NuxtClientFallback> componentMar 8, 2023
@danielroedanielroe mentioned this pull request Mar 8, 2023
@danielroe
danielroe merged commit 1729d2e into nuxt:mainMar 8, 2023
huang-julien added a commit to huang-julien/nuxt-3 that referenced this pull request Mar 12, 2023
commit 1729d2e
Author: Julien Huang <julien.huang@outlook.fr>
Date: Wed Mar 8 22:13:06 2023 +0100
feat(nuxt): add `<NuxtClientFallback>` component (nuxt#8216)
commit c4222b1
Author: Sébastien Chopin <seb@nuxt.com>
Date: Wed Mar 8 17:06:22 2023 +0100
docs: fix local modules
commit 8732720
Author: Harlan Wilton <harlan@harlanzw.com>
Date: Thu Mar 9 02:32:24 2023 +1100
perf(head): drop `@vueuse/head` dependency (#19519)
commit df3ae8c
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Mar 8 12:17:22 2023 +0000
feat(nuxt): enable chunk error handling by default (#19086)
commit 6243146
Author: Anthony Fu <anthonyfu117@hotmail.com>
Date: Wed Mar 8 12:56:41 2023 +0100
feat(vite): use custom logger to show vite logs (#19523)
commit e344321
Author: Sebastian Landwehr <info@sebastianlandwehr.com>
Date: Wed Mar 8 12:32:00 2023 +0100
feat(cli): programmatically pass nuxt config overrides (to dev) (#19371)
commit c2ab76d
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Mar 7 22:51:08 2023 +0000
perf(vite): mark more core functions as side-effect free (#19508)
commit 0b82f67
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Mar 7 21:36:58 2023 +0000
chore: force minor bumps at most
commit 60d07df
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Mar 7 21:06:15 2023 +0000
feat(nuxt): support custom keyed composables (#19490)
commit faeffcb
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Mar 7 17:46:25 2023 +0000
docs: add new release cycle info (#19509)
commit 01a6f17
Author: Clément Ollivier <clement.o2p@gmail.com>
Date: Tue Mar 7 17:55:18 2023 +0100
docs: update pr template to include jsdoc annotations (#19511)
commit 6c53c8b
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue Mar 7 06:25:27 2023 -0800
chore(deps)!: update dependency fork-ts-checker-webpack-plugin to v8 (main) (#19468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
BREAKING CHANGE: Using the webpack builder, `typescript.typeCheck` has not been properly type-checking vue files _anyway_, so this shouldn't be a breaking change. But the underlying plugin we have been using (`fork-ts-checker-webpack-plugin`) has now formally removed support for type-checking `.vue` files to make this clearer.
commit 06b9233
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Mar 7 12:20:43 2023 +0000
docs: update cli docs for `--log-level`
commit 3f1e023
Author: Jakub Andrzejewski <37120330+Baroshem@users.noreply.github.com>
Date: Tue Mar 7 13:18:47 2023 +0100
feat(nuxi,schema): add support for setting nuxt `logLevel` (#19369)
commit fe14961
Author: Clément Ollivier <clement.o2p@gmail.com>
Date: Tue Mar 7 12:12:54 2023 +0100
docs: update `addComponent` jsdoc comment (#19503)
commit 6748211
Author: Paulius Varna <paul.varna@gmail.com>
Date: Tue Mar 7 11:45:07 2023 +0200
docs: add info `~/server/utils` directory in `~/utils` page (#19500)
commit bb61496
Author: Harlan Wilton <harlan@harlanzw.com>
Date: Tue Mar 7 20:30:05 2023 +1100
feat(nuxt): allow configuring treeshakeable composables (#19383)
commit 3a73f42
Author: Alex Korytskyi <alexander.korytskyi@gmail.com>
Date: Tue Mar 7 09:17:42 2023 +0200
feat(nuxt): support `trailingSlashBehavior` in `defineNuxtLink` (#19458)
commit b9e6980
Author: Samuel DIDIER-LAURENT <iStuffs@users.noreply.github.com>
Date: Mon Mar 6 23:54:40 2023 +0100
docs: update `devServer.https` example (#19486)
commit abcd27a
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Mar 6 22:20:07 2023 +0000
chore: restrict commit hash strings to 8 chars
resolves #19488
commit 4f61e36
Author: pooya parsa <pyapar@gmail.com>
Date: Mon Mar 6 15:42:20 2023 +0100
fix(cli): handle different kind of shutdown signals (#19485)
commit d4f443a
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Mar 6 03:34:45 2023 -0800
chore(deps): update all non-major dependencies (main) (#19472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit ca32852
Author: Alex Liu <dsa1314@gmail.com>
Date: Mon Mar 6 19:34:17 2023 +0800
feat(nuxt): enable preloading object-syntax routes (#19120)
commit 129bb4f
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Mar 6 11:33:40 2023 +0000
feat(kit,nuxt): add component `priority` to allow overriding (#19252)
commit a7d75a8
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun Mar 5 12:59:50 2023 -0800
chore(deps): update all non-major dependencies to ^1.1.16 (main) (#19466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit 4310d2a
Author: Alexander Lichter <github@lichter.io>
Date: Sun Mar 5 15:42:16 2023 +0100
docs: fix dead link to useSeoMeta guide (#19463)
commit a670e07
Author: Alexander Lichter <github@lichter.io>
Date: Sun Mar 5 11:10:56 2023 +0100
docs: fix link to nitro `routeRules` (#19455)
commit 5977adb
Author: Sébastien Chopin <seb@nuxtlabs.com>
Date: Sun Mar 5 10:51:10 2023 +0100
docs: add local modules ordering
commit b73ca91
Author: Daniel Roe <daniel@roe.dev>
Date: Sat Mar 4 15:10:40 2023 +0000
fix(kit): match commit hashes of other lengths (#19450)
commit 71225e5
Author: pooya parsa <pyapar@gmail.com>
Date: Sat Mar 4 15:39:26 2023 +0100
feat(nuxt): enable config schema by default (#19172)
commit 44d4aba
Author: Daniel Roe <daniel@roe.dev>
Date: Sat Mar 4 14:34:34 2023 +0000
docs: add edge banners on `versions` and modules (#19448)
commit f14b896
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat Mar 4 06:34:20 2023 -0800
chore(deps): update all non-major dependencies (main) (#19439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 4aa35b6
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri Mar 3 20:07:45 2023 +0000
chore(deps): update devdependency changelogen to ^0.5.0 (main) (#19433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 8fa3fba
Author: pooya parsa <pyapar@gmail.com>
Date: Fri Mar 3 20:24:49 2023 +0100
refactor(nuxi): hard restart with communication channel (#19423)
commit 3681bdd
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Mar 3 17:52:55 2023 +0000
feat(nuxt): auto-register modules in `~/modules` (#19394)
commit a420369
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Mar 3 16:47:08 2023 +0000
fix(nuxt): don't print layout warning if page is not ssr (#19434)
commit 588c3ff
Author: Horu <73709188+HigherOrderLogic@users.noreply.github.com>
Date: Fri Mar 3 23:04:03 2023 +0700
fix(nuxt): add `kit.*` files to published package (#19430)
commit 008426c
Author: Sébastien Chopin <seb@nuxt.com>
Date: Fri Mar 3 16:40:47 2023 +0100
docs: add frontmatter note for docs readme to remove from live preview
commit bc9ffa4
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Mar 3 14:48:04 2023 +0000
feat(nuxt): add support for `nuxt/kit` subpath for local use (#19422)
commit 7131aef
Author: Ivan <rebyatyonok@yandex.com>
Date: Fri Mar 3 17:07:42 2023 +0300
feat(schema): allow adding page routes without a matching file (#19173)
commit 4406842
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Mar 3 13:51:47 2023 +0000
fix(nuxi): avoid top-level await in wrapper
commit db5ea91
Author: Anthony Fu <anthonyfu117@hotmail.com>
Date: Fri Mar 3 14:45:38 2023 +0100
feat(nuxi): cli wrapper for self restart (#18641)
commit 78f1c33
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri Mar 3 11:35:59 2023 +0000
chore(deps): update devdependency @types/node to ^18.14.5 (main) (#19409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 93c31cf
Author: Xin Du (Clark) <clark.duxin@gmail.com>
Date: Fri Mar 3 10:58:15 2023 +0000
chore: mark `@nuxt/test-utils` package as external group (#19419)
commit 842c4e6
Author: Xin Du (Clark) <clark.duxin@gmail.com>
Date: Fri Mar 3 10:57:56 2023 +0000
chore: add chore to type of change in pr template (#19420)
commit e11d55a
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Mar 3 10:45:47 2023 +0000
ci: fetch git history
commit 6084f64
Author: Stefan <stefan.heim@hotmail.com>
Date: Fri Mar 3 11:40:24 2023 +0100
fix(nuxt): pass transform options to component loader plugin (#19414)
commit 73ade18
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Mar 3 10:35:25 2023 +0000
fix(vite): omit `/` from `sourcemapIgnoreList` for windows support
commit 1712885
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Mar 3 10:34:47 2023 +0000
chore: add branch to edge release script
commit 654b9a2
Author: Xin Du (Clark) <clark.duxin@gmail.com>
Date: Fri Mar 3 10:20:15 2023 +0000
fix(schema): update vite `import.meta` types (#19338)
commit 2cf5f48
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri Mar 3 06:46:30 2023 +0000
chore(deps): update all non-major dependencies (main) (#19404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit f3c82d5
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Mar 2 16:57:55 2023 +0000
chore: bump edge version based on commits (#19397)
commit e3fe706
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu Mar 2 08:54:03 2023 -0800
chore(deps): update all non-major dependencies to ^1.1.15 (main) (#19395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 21e3e17
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Mar 2 15:28:15 2023 +0000
feat(vite): add `node_modules` and buildDir to `x_google_ignoreList` (#19243)
commit 3475f36
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu Mar 2 02:18:50 2023 -0800
chore(deps): update all non-major dependencies (main) (#19374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit 0be8cda
Author: Lucie <25330882+lihbr@users.noreply.github.com>
Date: Thu Mar 2 10:53:46 2023 +0100
fix(nuxt): prevent fallthrough attributes on custom `NuxtLink` (#19379)
commit d4a7524
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Mar 1 15:08:23 2023 +0000
feat(nuxt): add `versions` to runtime nuxtApp (#19064)
commit c35104c
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Mar 1 13:58:33 2023 +0000
docs: update esm link
commit 59918f5
Author: Anthony Fu <anthonyfu117@hotmail.com>
Date: Wed Mar 1 13:24:46 2023 +0100
feat(nuxt): scan composables with star export (#19249)
commit 5cfd835
Author: Jakub Andrzejewski <37120330+Baroshem@users.noreply.github.com>
Date: Wed Mar 1 13:15:01 2023 +0100
feat(nuxi): reload nuxt when `restart` hook is called (#19084)
commit c7eb891
Author: Inesh Bose <56732164+ineshbose@users.noreply.github.com>
Date: Wed Mar 1 12:08:58 2023 +0000
fix(nuxt): deprecate scanning directory index plugins (#18418)
commit dccb733
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Mar 1 12:03:58 2023 +0000
feat(nuxi): enforce consistent casing in filenames (#19088)
commit f303ed6
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed Mar 1 01:45:01 2023 -0800
chore(deps): update devdependency @unocss/reset to ^0.50.2 (main) (#19350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 755decc
Author: Inesh Bose <56732164+ineshbose@users.noreply.github.com>
Date: Wed Mar 1 09:39:58 2023 +0000
ci: limit nuxt2 nightly build to nuxt org (#19352)
commit 679cec0
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue Feb 28 13:31:58 2023 -0800
chore(deps): update all non-major dependencies to ^0.29.2 (main) (#19341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 6009deb
Author: Mahdi Shah abbasian <mehdi.shahabbasian@gmail.com>
Date: Wed Mar 1 01:01:41 2023 +0330
docs: use consistent indentation in examples (#19342)
commit 639189c
Author: Alexander Lichter <github@lichter.io>
Date: Tue Feb 28 20:18:47 2023 +0100
fix(nuxt): clear loading indicator on unmount (#19340)
commit 32f6cb2
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 28 14:06:31 2023 +0100
perf(nuxt): increase static asset maxAge to 1yr (#19335)
commit 021ba43
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 28 12:19:32 2023 +0100
v3.2.3 (#19317)
commit 0f47936
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue Feb 28 02:26:11 2023 -0800
chore(deps): update all non-major dependencies to ^1.1.14 (main) (#19321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit 503b7ac
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 27 20:36:27 2023 +0100
perf(nuxt): don't update manifest in dev mode (#19315)
commit 62b079a
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Feb 27 11:35:51 2023 -0800
chore(deps): update dependency ufo to ^1.1.1 (main) (#19316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit 8bfc66d
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Feb 27 11:02:11 2023 -0800
chore(deps): update all non-major dependencies (main) (#19235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit 57b8ff5
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 27 16:13:59 2023 +0100
fix(vite): handle non-iterable `noExternal` option (#19256)
commit f16cce8
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 27 16:13:14 2023 +0100
fix(nuxt): compatible route object for custom external routes (#19261)
commit 9e6fa9f
Author: igayamaguchi <iganin2@gmail.com>
Date: Mon Feb 27 21:29:57 2023 +0900
fix(nuxt): preserve explicit `rel` attribute on internal link (#19309)
commit 3c006b3
Author: Sébastien Chopin <seb@nuxt.com>
Date: Fri Feb 24 13:19:07 2023 +0100
docs: add docs badge
commit fea495f
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed Feb 22 15:04:09 2023 -0800
chore(deps): update all non-major dependencies (main) (#19220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 99a47c1
Author: Rafael Magalhaes <rafaelmagalhaes93@gmail.com>
Date: Wed Feb 22 13:45:22 2023 +0000
docs: improved going further modules documentation (#19219)
Co-authored-by: Rafael Magalhaes <rafael.magalhaes@yapily.com>
commit 7a4a416
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed Feb 22 01:30:30 2023 -0800
chore(deps): update all non-major dependencies (main) (#19209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit a3713eb
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue Feb 21 22:01:59 2023 -0800
chore(deps): update all non-major dependencies (main) (#19168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit 2359b43
Author: ML <me.mlaure@gmail.com>
Date: Wed Feb 22 06:50:14 2023 +0100
docs: clarify that app config is not available (yet) in nitro (#19200)
commit 185ae9f
Author: Clément Ollivier <clement.o2p@gmail.com>
Date: Tue Feb 21 17:45:47 2023 +0100
docs: update link (#19197)
commit 7479d46
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 21 15:06:10 2023 +0000
fix(nuxt): log errors thrown when booting the nuxt app (#19187)
commit b1fd520
Author: Joel Wenzel <50124194+joel-wenzel@users.noreply.github.com>
Date: Tue Feb 21 07:39:36 2023 -0600
docs(pages): add example of limiting scanned routes (#19181)
commit c4eb4b7
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 21 12:22:12 2023 +0000
fix(nuxt): preserve (re)named imports in meta (#19192)
commit d2481f9
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 20 20:34:33 2023 +0000
fix(webpack): use default export from webpack (#19166)
commit 268cded
Author: Alex Liu <dsa1314@gmail.com>
Date: Tue Feb 21 04:31:27 2023 +0800
fix(nuxt): prefetch object-syntax routes with `<NuxtLink>` (#19144)
commit 29d6094
Author: Anthony Fu <anthonyfu117@hotmail.com>
Date: Mon Feb 20 21:28:10 2023 +0100
fix(vite): normalize path emitted by vite watcher (#19179)
commit eaeb4f0
Author: Julien Huang <julien.huang@outlook.fr>
Date: Mon Feb 20 11:56:17 2023 +0100
fix(nuxi): restart nuxt when `distDir` is unlinked (#19131)
commit b3ce956
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 20 09:54:48 2023 +0000
ci: reduce artifact retention days
commit fc19021
Author: usagizmo <usagizmo@gmail.com>
Date: Mon Feb 20 18:53:40 2023 +0900
docs: fix components path (#19163)
commit cbe2ed6
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Feb 20 01:52:13 2023 -0800
chore(deps): update all non-major dependencies (main) (#19158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 435b923
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat Feb 18 14:11:01 2023 -0800
chore(deps): update dependency rollup to ^3.17.1 (main) (#19146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 7f67fce
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat Feb 18 10:21:07 2023 +0000
chore(deps): update all non-major dependencies (main) (#19134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 524426e
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri Feb 17 21:03:12 2023 +0000
chore(deps): update all non-major dependencies (main) (#19128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 3a832ba
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Feb 17 16:39:15 2023 +0000
v3.2.2
commit a89d944
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Feb 17 16:38:16 2023 +0000
fix(nuxi): upgrade `giget`
commit 5c47d4c
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Feb 17 15:56:00 2023 +0000
v3.2.1 (#19082)
commit 576ce9e
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Feb 17 14:13:17 2023 +0000
chore: dedupe rollup
commit 5ae0d52
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri Feb 17 15:12:14 2023 +0100
chore(deps): update devdependency giget to ^1.1.1 (main) (#19116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 6858796
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri Feb 17 06:05:49 2023 -0800
chore(deps): update all non-major dependencies (main) (#19103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit 15b9386
Author: pooya parsa <pyapar@gmail.com>
Date: Fri Feb 17 14:38:19 2023 +0100
chore: update nitropack and unjs dependencies (#19100)
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit ce2d97c
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Feb 17 10:08:10 2023 +0000
chore: increase node 14 minor version constraint (#19111)
commit 3190254
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Feb 17 00:59:24 2023 +0000
fix(nuxt): pass nuxt + workspace paths when importing builder (#19099)
commit ac682fd
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu Feb 16 18:59:07 2023 +0000
chore(deps): update devdependency vue-tsc to ^1.1.2 (main) (#19090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit f5a3d79
Author: Mathieu Magalhaes <mathieu.magalhaes@gmail.com>
Date: Thu Feb 16 18:26:15 2023 +0100
fix(nuxt): respect redirects which differ only by trailing slash (#18593)
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit e2fc6f2
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu Feb 16 09:24:05 2023 -0800
chore(deps): update dependency unenv to ^1.2.0 (main) (#19087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit af55b98
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 16 17:16:51 2023 +0000
fix(nuxt): test generated pathname
commit e9ff34a
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 16 16:59:06 2023 +0000
fix(nuxt): restore previous check on payload url
commit 1e8b27f
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 16 15:00:40 2023 +0000
perf(nuxt): don't include side-effects from `#components` (#19008)
commit c8b49a3
Author: yuyin <38490578+yuyinws@users.noreply.github.com>
Date: Thu Feb 16 22:53:23 2023 +0800
docs: add `sendRedirect` usage (#19070)
commit 7aa35ff
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 16 14:40:51 2023 +0000
fix(nuxt): validate no `//` in path when constructing payload url (#19085)
commit c45b842
Author: Hamish Claxton <hamishclaxton@gmail.com>
Date: Thu Feb 16 23:17:56 2023 +1000
fix(nuxi): read `devServer` options from nuxt config (#19055)
commit 681cfa8
Author: Nathan Chase <nathan@nathanchase.com>
Date: Thu Feb 16 08:04:09 2023 -0500
perf(nuxt): animate transform rather than width (#19073)
commit 7d0ecb5
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 16 12:56:14 2023 +0000
fix(nuxt): show client error if no page matches after validate fails (#18978)
commit 4b2901b
Author: Alex <self@pirsig.net>
Date: Thu Feb 16 13:55:12 2023 +0100
fix(nuxi): pass through exit code from test errors (#18959)
commit 61cd6b5
Author: Julien Huang <julien.huang@outlook.fr>
Date: Thu Feb 16 13:47:42 2023 +0100
fix(nuxt): use parser to treeshake client-only declarations (#18951)
commit 9dc5413
Author: Nick Williams <WickyNilliams@users.noreply.github.com>
Date: Thu Feb 16 12:45:08 2023 +0000
fix(vite): respect `isCustomElement` config for jsx transform (#19053)
commit 96b09ea
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 16 12:43:58 2023 +0000
feat(nuxt): add experimental `app:chunkError` hook and reload strategy (#19038)
commit a1252d3
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 16 12:27:28 2023 +0000
docs: add information on when mw runs & how to skip (#19083)
commit a937e84
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu Feb 16 04:24:49 2023 -0800
chore(deps): update all non-major dependencies (main) (#19075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 88b895a
Author: Ayaka Rizumu <464388324@qq.com>
Date: Thu Feb 16 19:44:31 2023 +0800
chore(deps): update @vueuse/head dependencies to 1.0.26 (#19076)
commit f225ebd
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu Feb 16 03:00:39 2023 +0000
chore(deps): update all non-major dependencies (main) (#19069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 76a4f4e
Author: Favour Felix Chinemerem <46944485+felixfavour@users.noreply.github.com>
Date: Wed Feb 15 17:23:17 2023 +0100
docs: updated public directory explanation (#18464)
commit 6c5d8d6
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Feb 15 16:22:30 2023 +0000
docs: add note about nested directory order (#19061)
commit 80f73d3
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Feb 15 12:54:49 2023 +0000
docs: remove reference to obsolete `static` property
resolves #15009
commit 636e494
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed Feb 15 03:13:08 2023 -0800
chore(deps): update all non-major dependencies (main) (#18952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
commit 59a1f7b
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 14 22:22:53 2023 +0000
perf(nuxt): allow tree-shaking empty meta from build (#19032)
commit 523b495
Author: Alois Sečkár <ellrohir@seznam.cz>
Date: Tue Feb 14 13:01:37 2023 +0100
docs: flatten top-level project in layers example (#18967)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
commit 27d68f6
Author: Florent Delerue <florentdelerue@hotmail.com>
Date: Tue Feb 14 11:01:35 2023 +0100
docs: fix spacing (#19018)
commit 9e789c7
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 14 00:36:46 2023 +0000
fix(vite): exclude `nuxt/app` from optimised deps
commit 2960aa3
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 14 00:23:12 2023 +0000
fix(schema): transpile `nuxt/app` by default (#19009)
commit b1b908b
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 14 00:22:42 2023 +0000
build: add `nuxt` to nuxt externals
commit 71bcd95
Author: Daniel Roe <daniel@roe.dev>
Date: Tue Feb 14 00:02:41 2023 +0000
test: skip vnode warning on windows dev mode
commit e3e7688
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 13 23:08:20 2023 +0000
build(nuxt): add `nuxt/schema` to externals
commit 4219ff2
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 13 22:56:39 2023 +0000
fix(nuxt): prevent hyphens forming child routes & warn if dupes are detected (#18944)
commit 859fbd0
Author: Xin Du (Clark) <clark.duxin@gmail.com>
Date: Mon Feb 13 22:55:29 2023 +0000
fix(nitro): ensure ssr error `statusCode` is a number (#19001)
commit 54739e4
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Feb 13 14:44:04 2023 -0800
chore(deps): update dependency execa to v7 (main) (#18965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 6016aef
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 13 22:42:04 2023 +0000
fix(nuxt): expose `nuxt/schema` subpath for augmentation (#18922)
commit e362061
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Feb 13 14:09:58 2023 -0800
chore(deps): update devdependency eslint-plugin-jsdoc to v40 (main) (#18961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit d036d3d
Author: Daniel Roe <daniel@roe.dev>
Date: Mon Feb 13 22:09:32 2023 +0000
ci: run webpack/vite and dev/prod as matrices (#18905)
commit aa40929
Author: Tim van den Eijnden <TimvdEijnden@users.noreply.github.com>
Date: Mon Feb 13 21:40:13 2023 +0100
docs: fix link to ESM page (#19000)
commit 6d7be47
Author: Benjamin Flesch <bf@deutsche-cyberberatung.de>
Date: Sun Feb 12 20:18:39 2023 +0100
docs: fix typo (#18975)
commit b25b6c8
Author: Lioness100 <jchickmm2@gmail.com>
Date: Sun Feb 12 14:16:42 2023 -0500
docs: fix typos (#18976)
commit 7111b6c
Author: pooya parsa <pyapar@gmail.com>
Date: Fri Feb 10 17:33:06 2023 +0100
fix(nuxt): avoid recursive import in nitro renderer (#18948)
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit cf47f9e
Author: Felix <5724535+FelixGraf@users.noreply.github.com>
Date: Fri Feb 10 17:32:40 2023 +0100
docs: update link to bridge repo (#18950)
commit 2d342c3
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri Feb 10 06:23:27 2023 -0800
chore(deps): update all non-major dependencies (main) (#18929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit ee2f568
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Feb 10 10:31:56 2023 +0100
refactor(nuxt): combine imports from same relative path
commit 19bef5a
Author: Daniel Roe <daniel@roe.dev>
Date: Fri Feb 10 08:36:10 2023 +0100
fix(schema): allow type inference of arrays in runtime config (#18931)
* fix(schema): allow type inference of arrays in runtime config
* test: add types fixture
commit 9ee568e
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 9 15:02:59 2023 +0100
docs: add info for `nuxi devtools` command (#18888)
commit 5855c1e
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 9 11:55:03 2023 +0100
v3.2.0 (#18843)
commit 5426e56
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 9 09:26:23 2023 +0100
test: decrease vite logging during tests
commit 71d67ad
Author: Daniel Roe <daniel@roe.dev>
Date: Thu Feb 9 07:28:58 2023 +0100
chore: combine import statements
commit a89e2fa
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu Feb 9 00:13:25 2023 -0800
chore(deps): update all non-major dependencies (main) (#18890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit 9a035a1
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Feb 8 22:26:41 2023 -0800
refactor(nuxt): within nuxt app, import directly from source file (#18902)
commit 0b2bce4
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Feb 8 22:03:06 2023 -0800
docs: add explanation with augmented meta for new routes (#18901)
commit 9845467
Author: pooya parsa <pyapar@gmail.com>
Date: Thu Feb 9 07:02:07 2023 +0100
feat(nuxt): upgrade to nitropack 2.2 (#18889)
commit 2e62246
Author: Chen <58675561+HiChen404@users.noreply.github.com>
Date: Wed Feb 8 22:04:37 2023 +0800
fix: reorder the types field in package.json (#18880)
commit 9f3b38c
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed Feb 8 04:09:30 2023 -0800
chore(deps): update dependency esbuild-loader to v3 (main) (#18883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
commit c936bc7
Author: Daniel Roe <daniel@roe.dev>
Date: Wed Feb 8 02:43:39 2023 -0800
feat(nuxi): add initial support for enabling/disabling devtools (#18864)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
commit 113ce71
Author: Julien Huang <julien.huang@outlook.fr>
Date: Wed Feb 8 09:59:57 2023 +0100
fix(nuxt): use parser to treeshake `<ClientOnly>` (nuxt#8713)
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xenhancementNew feature or request🍰 p2-nice-to-havePriority 2: nothing is broken but it's worth addressing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support a component to capture component ssr failed and then automatically render it on client

3 participants

@huang-julien@pi0@danielroe