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

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

Awesome Lists containing this project

README

          

# vite-serve

![Supported node versions](https://img.shields.io/node/v/husky)

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.
```