30 lines
609 B
Markdown
30 lines
609 B
Markdown
|
# vite-plugin-typescript-starter
|
||
|
|
||
|
Typescript Starter Template for vite plugins.
|
||
|
### Includes:
|
||
|
- Plugin build with [tsup](https://github.com/egoist/tsup)
|
||
|
- Example app (React-TS)
|
||
|
- Parallel development of plugin and example-app with [concurrently](https://github.com/kimmobrunfeldt/concurrently)
|
||
|
|
||
|
## Getting started
|
||
|
|
||
|
Click "Use this Template" or use [degit](https://github.com/Rich-Harris/degit) to clone this repository.
|
||
|
|
||
|
## Development
|
||
|
|
||
|
- Install dependencies
|
||
|
```
|
||
|
npm install
|
||
|
```
|
||
|
- Start plugin and example-app (react-ts)
|
||
|
```
|
||
|
npm run dev
|
||
|
```
|
||
|
- Open browser on localhost:3000
|
||
|
|
||
|
## Build
|
||
|
|
||
|
```
|
||
|
npm run build
|
||
|
```
|