vite-ssr

Use Vite for server side rendering in Node

MIT License

Downloads
3.9K
Stars
827
Committers
21
vite-ssr - 0.4.1

Published by frandiox over 3 years ago

  • Fix: Use SPA createApp in the browser.
vite-ssr - 0.4.0

Published by frandiox over 3 years ago

  • Consistent DX with Vite CLI when using SSR Mode. Support CLI flags like --open, --port 1337 or --ssr path.
  • Internal files have been reorganized. Shouldn't affect apps unless you were using non-public files.
vite-ssr - 0.3.1

Published by frandiox over 3 years ago

  • Do not overwrite initialState passed to renderer.
vite-ssr - 0.3.0

Published by frandiox over 3 years ago

  • Local SSR dev-server withvite-ssr dev 🎉
  • Renderer now returns the building parts (body, head, bodyAttrs and htmlAttrs) aside from the current html (which assembles everything).
  • initialState is now available in the main Vue hook during SSR in order to ease integration with Vuex or serverPrefect calls.
  • Breaking: Renderer API has changed from render({ request, ... }) to render(url, { ... }). Vite SSR doesn't need the request object, just the URL. You can still pass the request in the options if you need access to it from your app code.
vite-ssr - 0.2.0

Published by frandiox over 3 years ago

  • Support Vite 2 stable
  • Support React
vite-ssr - 0.1.2

Published by frandiox over 3 years ago

  • Inject initialState, request and any other custom properties to the SSR context (accessible using Vue's useSsrContext()).
  • Improve types.
vite-ssr - 0.1.1

Published by frandiox over 3 years ago

  • Preload page dependencies
vite-ssr - 0.1.0

Published by frandiox over 3 years ago

  • Support Vite 2
vite-ssr - 0.0.16

Published by frandiox over 3 years ago

  • Last version in Vite v1
vite-ssr - 0.0.8

Published by frandiox almost 4 years ago

Stable release.

vite-ssr - 0.0.1

Published by frandiox almost 4 years ago

Initial release