Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 949 Bytes

README.md

File metadata and controls

40 lines (31 loc) · 949 Bytes

Build Status license

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