https://github.com/yxonic/vite-serve
instantly preview a Vue/React component with Vite
https://github.com/yxonic/vite-serve
instant instant-prototyping preview prototyping react sfc vitejs vue
Last synced: 7 months ago
JSON representation
instantly preview a Vue/React component with Vite
- Host: GitHub
- URL: https://github.com/yxonic/vite-serve
- Owner: yxonic
- License: mit
- Created: 2022-01-22T15:27:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-25T03:08:45.000Z (about 4 years ago)
- Last Synced: 2025-04-13T11:12:07.363Z (about 1 year ago)
- Topics: instant, instant-prototyping, preview, prototyping, react, sfc, vitejs, vue
- Language: JavaScript
- Homepage:
- Size: 447 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-serve

Instantly preview a single file with [Vite](https://vitejs.dev). Supported formats include: `.vue`, `.jsx`, `.tsx`, `.md` (rendered by [vmark](https://github.com/yxonic/vmark)), with out-of-the box Tailwind / WindiCSS support.
### Usage
Install:
```bash
npm i -g vite-serve
```
Then preview your file:
```bash
vite-serve demo.vue # or demo.jsx, demo.md, etc.
```