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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2ODA1NzMsIm5iZiI6MTczOTY4MDI3MywicGF0aCI6Ii85MDk0Mi8zNzM3ODYzNzctMDczYTI2ZGMtNDIxMi00YWIwLWI1YTAtZDk2OGFjNDczNDJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDA0MzExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcyMjRhYTc3YjJhYmYwM2Q1MzYxMjU4Yzg4NzJmYzI5NzI5NjlmOTZiMDdhYjRiMGE0MTUwMDcxNGQzNmRkYTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KozlAyc7_yby-kkRgNLrdF_2L4FBh447oSV2_nLF2Fc)
- 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.