Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/travis-r6s/vps-prerendering-templates-demo


https://github.com/travis-r6s/vps-prerendering-templates-demo

Last synced: 16 days ago
JSON representation

Awesome Lists containing this project

README

        

Example of using `vite-plugin-ssr` with Vue that showcases many features.

For a simpler example, check out [/examples/vue/](/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:

```bash
git clone [email protected]:brillout/vite-plugin-ssr
cd vite-plugin-ssr/examples/vue-full/
npm install
npm run dev
```