Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/travis-r6s/vps-prerendering-templates-demo
- Owner: travis-r6s
- Created: 2022-05-08T16:59:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-09T08:26:12.000Z (over 2 years ago)
- Last Synced: 2023-12-27T13:38:53.857Z (about 1 year ago)
- Language: TypeScript
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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 streamingTo run it:
```bash
git clone [email protected]:brillout/vite-plugin-ssr
cd vite-plugin-ssr/examples/vue-full/
npm install
npm run dev
```