Skip to content

Commit 252716b

Browse files
committed
[DOC]: Remove unused import
1 parent 496043c commit 252716b

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,13 @@ npm install --save vue-typed-js
2323

2424
## Default import
2525

26-
Install all the components:
27-
28-
```javascript
29-
import Vue from 'vue'
30-
import VueTypedJs from 'vue-typed-js'
31-
32-
Vue.use(VueTypedJs)
33-
```
34-
35-
Use specific components:
26+
Install the component:
3627

3728
```javascript
3829
import Vue from 'vue'
3930
import { VueTypedJs } from 'vue-typed-js'
4031

41-
Vue.component('vue-typed-js', VueTypedJs)
32+
Vue.use(VueTypedJs)
4233
```
4334

4435
**⚠️ A css file is included when importing the package. You may have to setup your bundler to embed the css in your page.**

0 commit comments

Comments
 (0)