This is a Vite template for a simple TinyWidgets app, using TypeScript.
![image](https://private-user-images.githubusercontent.com/90942/373786377-073a26dc-4212-4ab0-b5a0-d968ac47342c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTk4NjYsIm5iZiI6MTczOTU1OTU2NiwicGF0aCI6Ii85MDk0Mi8zNzM3ODYzNzctMDczYTI2ZGMtNDIxMi00YWIwLWI1YTAtZDk2OGFjNDczNDJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE4NTkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFmMTdiNDk3MTc3NzI1YmNiM2UyZDk5NmZiNzY5N2VjMDU1ZGU1OGZkNmQ3NGU5MjUwZTlkNzMwYTBjZWEyMjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.NiRmeDePX9ImFC2RFepgJC5iUNsIqCai1tYMMpzt-Yw)
- Make a copy of this template into a new directory:
npx tiged tinyplex/vite-tinywidgets my-tinywidgets-app
- Go into the directory:
cd my-tinywidgets-app
- Install the dependencies:
npm install
- Run the application:
npm run dev
- The Vite server should start up. Go the URL shown and enjoy!
Note that you can also create a production build with npm run build
.
This template has no license, and so you can use it however you want! TinyWidgets and Vite themselves are both MIT licensed.