Skip to content

0.3.0

Choose a tag to compare

@frandiox frandiox released this 20 Feb 17:55
· 302 commits to master since this release
  • 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.