Skip to content

Commit a3772cf

Browse files
author
Niels Bosman
committed
Update package for npm & update README.md
1 parent 5651bd0 commit a3772cf

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ This is a project that makes it easier to use a (checkbox) toggle component that
66

77
#### NPM
88
```bash
9-
npm install --save vue-toggle-component@latest
9+
npm install --save vue-toggle-component
1010
```
1111

1212
## Import
1313

1414
```javascript
15-
import VueToggle from 'vue-toggle-component'
15+
import VueToggle from "../../vue-toggle-component/src/components/VueToggle";
1616
```
1717

1818
## Example
1919
```
20-
<vue-toggle title="Toggle me" :id="'1'" />
20+
<vue-toggle title="Toggle me" id="1" />
2121
```
2222

2323
### Author

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@nehlis/vue-toggle-component",
2+
"name": "vue-toggle-component",
33
"version": "0.1.1",
44
"scripts": {
55
"serve": "vue-cli-service serve",
@@ -40,14 +40,11 @@
4040
"last 2 versions",
4141
"not dead"
4242
],
43-
"publishConfig": {
44-
"registry": "https://npm.pkg.github.com"
45-
},
4643
"description": "## Project setup ``` yarn install ```",
4744
"main": "babel.config.js",
4845
"repository": {
4946
"type": "git",
50-
"url": "https://github.com/nehlis/vue-toggle-component"
47+
"url": "git+https://github.com/nehlis/vue-toggle-component.git"
5148
},
5249
"keywords": [
5350
"Vue.js",

0 commit comments

Comments
 (0)