File tree Expand file tree Collapse file tree 3 files changed +20
-10
lines changed Expand file tree Collapse file tree 3 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ JSDoc for VueJS
15
15
$ npm install --save-dev jsdoc-vuejs
16
16
```
17
17
18
+ You also need to install ` vue-template-compiler ` that match your Vue version:
19
+
20
+ ``` bash
21
+ # if you use Vue 2.5.21
22
+ $ npm install --save-dev vue-template-compiler@2.5.21
23
+ ```
24
+
18
25
## Usage
19
26
20
27
Your should update your JSDoc configuration to enable JSDoc-VueJS:
Original file line number Diff line number Diff line change 31
31
"homepage" : " https://github.com/Kocal/jsdoc-vuejs#readme" ,
32
32
"dependencies" : {
33
33
"ejs" : " ^2.6.1" ,
34
- "jsdoc" : " ^3.5.5" ,
35
- "vue-template-compiler" : " ^2.5.16"
34
+ "jsdoc" : " ^3.5.5"
35
+ },
36
+ "peerDependencies" : {
37
+ "vue-template-compiler" : " >= 2.0.0"
36
38
},
37
39
"devDependencies" : {
38
40
"@kocal/semantic-release-preset" : " ^1.1.0" ,
44
46
"eslint-plugin-cypress" : " ^2.0.1" ,
45
47
"eslint-plugin-import" : " ^2.13.0" ,
46
48
"jest" : " ^23.4.2" ,
47
- "semantic-release" : " ^15.12.1"
49
+ "semantic-release" : " ^15.12.1" ,
50
+ "vue-template-compiler" : " ^2.5.21"
48
51
}
49
52
}
Original file line number Diff line number Diff line change @@ -3048,9 +3048,9 @@ has@^1.0.1:
3048
3048
function-bind "^1.1.1"
3049
3049
3050
3050
he@^1.1.0 :
3051
- version "1.1.1 "
3052
- resolved "https://registry.yarnpkg.com/he/-/he-1.1.1 .tgz#93410fd21b009735151f8868c2f271f3427e23fd "
3053
- integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0 =
3051
+ version "1.2.0 "
3052
+ resolved "https://registry.yarnpkg.com/he/-/he-1.2.0 .tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f "
3053
+ integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw= =
3054
3054
3055
3055
home-or-tmp@^2.0.0 :
3056
3056
version "2.0.0"
@@ -7662,10 +7662,10 @@ verror@1.10.0:
7662
7662
core-util-is "1.0.2"
7663
7663
extsprintf "^1.2.0"
7664
7664
7665
- vue-template-compiler@^2.5.16 :
7666
- version "2.5.19 "
7667
- resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.19 .tgz#c23fcbea22fe6c116814141d2e6680023d6456f2 "
7668
- integrity sha512-SIoE8gvl0UjZ/wccwHhj0HUqL+kLkJNy/8v7TXElz6rqxqKOKLoAynVV4L78qHZOHhLoyRl5BOmUFQPPdcD5qw ==
7665
+ vue-template-compiler@^2.5.21 :
7666
+ version "2.5.21 "
7667
+ resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.21 .tgz#a57ceb903177e8f643560a8d639a0f8db647054a "
7668
+ integrity sha512-Vmk5Cv7UcmI99B9nXJEkaK262IQNnHp5rJYo+EwYpe2epTAXqcVyExhV6pk8jTkxQK2vRc8v8KmZBAwdmUZvvw ==
7669
7669
dependencies :
7670
7670
de-indent "^1.0.2"
7671
7671
he "^1.1.0"
You can’t perform that action at this time.
0 commit comments