Skip to content

Commit c3aa0e2

Browse files
committed
doc: update
1 parent 07fd945 commit c3aa0e2

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,47 @@
22

33
Tabs component for Vue Bulma.
44

5+
6+
## Installation
7+
8+
```console
9+
$ npm install vue-bulma-tabs --save
10+
```
11+
12+
13+
## Examples
14+
15+
```vue
16+
<template>
17+
<tabs animation="slide" :only-fade="false">
18+
<tab-pane label="Pictures">Pictures Tab</tab-pane>
19+
<tab-pane label="Music">Music Tab</tab-pane>
20+
<tab-pane label="Videos" selected>Video Tab</tab-pane>
21+
<tab-pane label="Documents" disabled>Document Tab</tab-pane>
22+
</tabs>
23+
</template>
24+
25+
<script>
26+
import { Tabs, TabPane } from 'vue-bulma-tabs'
27+
28+
export default {
29+
components: {
30+
Tabs,
31+
TabPane
32+
}
33+
}
34+
</script>
35+
```
36+
37+
538
## Badges
639

740
![](https://img.shields.io/badge/license-MIT-blue.svg)
841
![](https://img.shields.io/badge/status-stable-green.svg)
942

1043
---
1144

12-
> [fundon.me](https://fundun.me) &nbsp;&middot;&nbsp;
45+
> [fundon.me](https://fundon.me) &nbsp;&middot;&nbsp;
1346
> GitHub [@fundon](https://github.com/fundon) &nbsp;&middot;&nbsp;
1447
> Twitter [@_fundon](https://twitter.com/_fundon)
1548

0 commit comments

Comments
 (0)