Quick Start

Smooth Load is an aesthetically pleasing spinner; wrapped up in a very simple, and easy to use, customizable component.

Install

If you are using module bundlers such as Webpack, you can directly include package into your project via:

NPM:

$ npm install smooth-load --save
1

Register

Then register smooth-load globally in your Vue.js app's entry:

// main.js
import Vue from 'vue'
import SmoothLoad from 'smooth-load'

Vue.use(SmoothLoad)
1
2
3
4
5

or import directly into a single component

import SmoothLoad from 'smooth-load'
export default {
  name: 'MyComponent',
  components: {
    SmoothLoad
  },
  data() {
    return {}
  },
}
1
2
3
4
5
6
7
8
9
10