2
0
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:
cristi
2017-04-18 01:31:19 +03:00
parent 3ed7a05460
commit 19db7dc669
+3 -3
View File
@@ -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