Skip to content

Commit 6ae94dc

Browse files
committed
Change readme order and cleanup install.js
1 parent afd75cf commit 6ae94dc

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@ npm install vue-toggle-component --save
2626
```javascript
2727
import VueToggle from 'vue-toggle-component';
2828
```
29-
### Vue version support
30-
31-
The main v1 version supports Vue 3.x only, for previous versions of Vue, check the following the table.
3229

33-
| vue Version | vue-toggle-component version |
34-
| ----------- | ---------------------------- |
35-
| `2.x` | `0.1.x` |
36-
| `3.x` | `1.x` |
3730

3831
### Usage
3932
#### Example
@@ -42,7 +35,14 @@ The main v1 version supports Vue 3.x only, for previous versions of Vue, check t
4235
<VueToggle title="Toggle me" id="1"/>
4336
</template>
4437
```
38+
### Vue version support
39+
40+
The main v1 version supports Vue 3.x only, for previous versions of Vue, check the following the table.
4541

42+
| vue Version | vue-toggle-component version |
43+
| ----------- | ---------------------------- |
44+
| `2.x` | `0.1.x` |
45+
| `3.x` | `1.x` |
4646
### Authors
4747

4848
#### Niels Bosman

src/install.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import VueToggle from "./components/VueToggle";
22

33
export default {
44
install(app) {
5-
app.component("VueToggle", VueToggle);
65
app.component("vue-toggle", VueToggle);
76
}
87
};

0 commit comments

Comments
 (0)