Skip to content

Commit f41cbbe

Browse files
undate readme
1 parent 56f3f43 commit f41cbbe

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
11
# vue-loading-spinner
22

3-
> Loading spinner collection for Vuejs
3+
> The collection of spinner for Vuejs
4+
5+
## Installation
6+
7+
``` bash
8+
npm install --save vue-loading-spinner
9+
```
10+
or
11+
12+
``` bash
13+
yarn add vue-loading-spinner
14+
```
15+
16+
## Usage
17+
18+
``` vue
19+
<template>
20+
<div id="app">
21+
<cube-spin></cube-spin>
22+
</div>
23+
</template>
24+
25+
<script>
26+
import CubeSpin from 'vue-loading-spinner/components/Cube'
27+
export default {
28+
components: {
29+
Cube
30+
}
31+
}
32+
</script>
33+
34+
```
435

536
## Build Setup
637

src/App.vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
<template>
2+
<div id="app">
3+
<cube-spin></cube-spin>
4+
</div>
5+
</template>
6+
7+
<script>
8+
import CubeSpin from '/Cube'
9+
export default {
10+
components: {
11+
Cube
12+
}
13+
}
14+
</script>
15+
116
<template>
217
<div id="app">
318
<div class="header">

0 commit comments

Comments
 (0)