Instantly preview a single file with Vite. Supported formats include: .vue, .jsx, .tsx, .md (rendered by vmark), with out-of-the box Tailwind / WindiCSS support.
Install:
npm i -g vite-serveThen preview your file:
vite-serve demo.vue # or demo.jsx, demo.md, etc.