Skip to content

Commit

Permalink
Add instructions for adding to component
Browse files Browse the repository at this point in the history
  • Loading branch information
xaksis committed Jul 6, 2018
1 parent 16f9ec1 commit 067157a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,32 @@ An easy and clean VueJS 2.x wizard plugin
### Installing

Install with npm:
```
```bash
npm install --save vue-good-wizard
```

import into project:
```
```js
import Vue from 'vue';
import VueGoodWizard from 'vue-good-wizard';

Vue.use(VueGoodWizard);
```

**or**

import into component:

```js
// within your component script tag
import { GoodWizard } from 'vue-good-wizard';

// in your components
components: {
'vue-good-wizard': GoodWizard,
}
```

## Example Usage

```html
Expand Down

0 comments on commit 067157a

Please sign in to comment.