Skelly (v0.1.0) is collection of vanilla skeleton loader components.
This package is inspired by vue-skelly.
# For yarn
$ yarn add @midnight-theory/skelly
# For npm
$ npm i @midnight-theory/skelly
import { InitAll } from "skelly";
import "skelly/dist/bundle.min.css";
window.onload = () => {
// Invoke the script
InitAll();
}
In your html:
<div class="skelly-circle"></div>
$ git clone https://github.com/midnight-theory/skelly
$ yarn && yarn start