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