## vite-pages library starter

This is a demo project for [vitext](https://github.com/vitejs/vitext).
This project demonstrate how to develop a library using vite as your local develop envirenment.

# How to use

`npm install` or `yarn`

`npm run dev` You can play with demos of your packages in local develop envirenment.

Edit `src/Button/index.tsx` or other souce files, the demos will inflect your change instantly.
Edit `src/Button/demos/demo1.tsx` or other demo files, the demos will inflect your change instantly.

`npm run build` The demos are built and served.

`npm run ssr` The app are built into a static site (Static-Site Generation) and served.

---

Checkout [vitext](https://github.com/vitejs/vitext) for more info.
