mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-24 12:00:32 +03:00
update README
This commit is contained in:
@@ -22,12 +22,12 @@ Other demos:
|
|||||||
|
|
||||||
## Or alternatively directly include the javascript
|
## Or alternatively directly include the javascript
|
||||||
Download the css and js files from `dist` folder or reference them directly from github (check jsfiddle links)
|
Download the css and js files from `dist` folder or reference them directly from github (check jsfiddle links)
|
||||||
```jsx
|
```html
|
||||||
<link rel="stylesheet" href="vue-tab-wizard.min.css">
|
<link rel="stylesheet" href="vue-tab-wizard.min.css">
|
||||||
<script src="vue-tab-wizard.js"></script>
|
<script src="vue-tab-wizard.js"></script>
|
||||||
```
|
```
|
||||||
## Component registration
|
## Component registration
|
||||||
```jsx
|
```js
|
||||||
//global registration
|
//global registration
|
||||||
import 'vue-tab-wizard'
|
import 'vue-tab-wizard'
|
||||||
import 'vue-tab-wizard/dist/vue-tab-wizard.min.css'
|
import 'vue-tab-wizard/dist/vue-tab-wizard.min.css'
|
||||||
@@ -44,7 +44,7 @@ components: {
|
|||||||
```
|
```
|
||||||
## Template usage
|
## Template usage
|
||||||
|
|
||||||
```jsx
|
```html
|
||||||
<tab-wizard>
|
<tab-wizard>
|
||||||
<tab-content title="Personal details">
|
<tab-content title="Personal details">
|
||||||
My first tab content
|
My first tab content
|
||||||
|
|||||||
Reference in New Issue
Block a user