We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3d6041 + 0d24e82 commit cf2dbb9Copy full SHA for cf2dbb9
README.md
@@ -17,7 +17,7 @@ Install:
17
```bash
18
npm install vue-js-toggle-button --save
19
```
20
-Import:
+Import Plugin:
21
```javascript
22
import ToggleButton from 'vue-js-toggle-button'
23
Vue.use(ToggleButton)
@@ -37,6 +37,11 @@ Use:
37
:labels="{checked: 'Foo', unchecked: 'Bar'}"/>
38
39
40
+If you prefer not to use the plugin you can also import the component directly:
41
+```javascript
42
+import ToggleButton from 'vue-js-toggle-button/src/Button'
43
+```
44
+
45
### Properties
46
47
| Name | Type | Default | Description |
0 commit comments