Example of using vite-plugin-ssr
with Vue that showcases many features.
For a simpler example, check out /examples/vue/.
Features:
- Client Routing (+ usage of
navigate()
) - Data Fetching (server-side fetching + isomorphic fetching)
- Pre-rendering (+ usage of the
prerender()
hook) - Route Function
- TypeScript
- Markdown
- Error Page
- Active Links
- Access
pageContext
from any Vue component - HTML streaming
git clone git@github.com:brillout/vite-plugin-ssr
cd vite-plugin-ssr/examples/vue-full/
npm install
npm run dev