vite-ssr
vite-ssr copied to clipboard
Use Vite for server side rendering in Node
Hey, I've had a build vite-ssr express server crash with the error message: ``` node:internal/errors:465 ErrorCaptureStackTrace(err); ^ TypeError [ERR_INVALID_URL]: Invalid URL at new NodeError (node:internal/errors:372:5) at onParseError (node:internal/url:563:9) at new...
The vite cli allows specifying the location of the config via the command using `-c` or `--config`. Currently, `vite-ssr` does not allow this without a workaround by using `--configFile` instead....
Currently facing a issue where vite and everything crashes during development is a error occurs during SSR in development. The error is as follows: ``` Error [ERR_STREAM_WRITE_AFTER_END]: write after end...
When using Koa as server in development, SSR requests will return 404. Because of Koa will set status code to 404 by default, and `handleSsrRequest()` doesn't set status code, so...
It would be nice to have option that will cut all js-related stuff from server-side-rendered page. Modern search engines can run javascript on scanning pages, but it cost cpu budget....
vite-ssr v0.10.6 vue-router v4.0.10 vite v2.3.8 Sometimes I'm getting following messages in the console when the server (dev & production) is running: ``` [Vue Router warn]: No match found for...
This PR adds some basic unit test setup with jest + esbuild-jest. Currently, only a few utils are tested. Also, the `test` script/command needs to be run manually.
Automatically create GitHub releases with a changelog.
It doesn't make sense to re-implement production server every time. Similarly to `vite preview`, there could be `vite-ssr preview` that runs a local web server. Also, there should be lower-level...