Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 829 Bytes

README.md

File metadata and controls

59 lines (43 loc) · 829 Bytes

spinner-lit

A simple spinner web component. beta now.

Usage

Import module

- JavaScript
- TypeScript (**Recommmand**)
// JavaScript
import 'spinner-lit/circle-spinner/circle-spinner.js'
// TypeScript
import 'spinner-lit/circle-spinner/circle-spinner'

In HTML

<circle-spinner variant="small"></circle-spinner>

<circle-spinner></circle-spinner>

<circle-spinner variant="large"></circle-spinner>

Dev

Build

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 in browser

Run the code for this project, or use Vite.

npm run test
npm run dev