A simple spinner web component. beta now.
- JavaScript
- TypeScript (**Recommmand**)
// JavaScript
import 'spinner-lit/circle-spinner/circle-spinner.js'
// TypeScript
import 'spinner-lit/circle-spinner/circle-spinner'
<circle-spinner variant="small"></circle-spinner>
<circle-spinner></circle-spinner>
<circle-spinner variant="large"></circle-spinner>
Modify the ts file of the code, Start building the project
npm run build
If the compilation of your css files is skipped, please allow the following directives
npm run css
npm run ts
Run the code for this project, or use Vite.
npm run test
npm run dev