diff --git a/README.md b/README.md index 78e465d..6302011 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Install: ```bash npm install vue-js-toggle-button --save ``` -Import: +Import Plugin: ```javascript import ToggleButton from 'vue-js-toggle-button' Vue.use(ToggleButton) @@ -37,6 +37,11 @@ Use: :labels="{checked: 'Foo', unchecked: 'Bar'}"/> ``` +If you prefer not to use the plugin you can also import the component directly: +```javascript +import ToggleButton from 'vue-js-toggle-button/src/Button' +``` + ### Properties | Name | Type | Default | Description |