travis-r6s / vps-prerendering-templates-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

To run it:

git clone git@github.com:brillout/vite-plugin-ssr
cd vite-plugin-ssr/examples/vue-full/
npm install
npm run dev

About


Languages

Language:TypeScript 74.8%Language:Vue 25.2%