Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

feat: support ssr: false #351

Merged
merged 8 commits into from
Jul 21, 2021
Merged

feat: support ssr: false #351

merged 8 commits into from
Jul 21, 2021

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jul 21, 2021

  • Nitro: Support dynamic SSR via x-nuxt-no-ssr header and legacy req.spa
  • Nitro: Support SPA mode when there is no server bundle
  • Nitro: Fallback to SPA when there is a SSR error with a console warning [experimental]
  • Vite: Generate valid client-manifest file (vue2 compatible)
  • Vite: use publicPath (_nuxt)
  • Vite/Webpack: Respect options.ssr to disable building server bundle
  • Update vue-bundle-renderer with type="module" support for .mjs
  • App: Check window.__NUXT__.serverRendered to switch between createSSRApp and createApp

Closes nuxt/bridge#124

Co-Authored-By: Daniel Roe daniel@roe.dev

@pi0 pi0 merged commit be25577 into main Jul 21, 2021
@pi0 pi0 deleted the feat/nitro-spa branch July 21, 2021 20:05
@danielroe danielroe mentioned this pull request Jul 21, 2021
3 tasks
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spa-only support
2 participants