Conversation
| // Disable SSR by on dev by default | ||
| const ssrEnabled = nuxt.options.ssr && nuxt.options.vite?.ssr | ||
| if (!ssrEnabled) { | ||
| const isBuild = !nuxt.options.dev && viteOptions.build |
There was a problem hiding this comment.
@antfu What would you say the blockers are from using SSR in both dev & prod?
There was a problem hiding this comment.
Currently the build is done via @vitejs/plugin-legacy, which make the bundling speed and bundle size worse then Webpack. As discussed with @pi0 we might need to figure out an solution for this while been careful about this default change, so maybe we will enabled build by default in v0.3.x
There was a problem hiding this comment.
Sure. PS: We are using a nasty workaround for vue2 plugin's SSR support also preload/prefetch needs module id augmentation (same as css-loader fork for vue2 and vue-loader)
build: true is provided
|
Let's have proper SSR support and also fix SPA issue in the meanwhile without workaround :) |
No description provided.