Skip to content

Commit e73bd4f

Browse files
DaveTorreydjtorreyKocal
committed
Supports Vue3 and the switch to compiler-sfc (#440)
BREAKING CHANGE: Drop Vue 2 support, add Vue 3 support, thanks to @DaveTorrey! Vue 2 support is still available on https://github.com/Kocal/jsdoc-vuejs/tree/3.x branch. Co-authored-by: Dave Torrey <[email protected]> Co-authored-by: Hugo Alliaume <[email protected]>
1 parent 713bc25 commit e73bd4f

File tree

5 files changed

+2007
-2115
lines changed

5 files changed

+2007
-2115
lines changed

README.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,27 @@ JSDoc for VueJS
77
[![codecov](https://codecov.io/gh/Kocal/jsdoc-vuejs/branch/master/graph/badge.svg)](https://codecov.io/gh/Kocal/jsdoc-vuejs)
88
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/850b7601f2bf4e8787a6aadbafa8afef)](https://www.codacy.com/app/kocal/jsdoc-vuejs?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Kocal/jsdoc-vuejs&amp;utm_campaign=Badge_Grade)
99

10-
> A JSDoc plugin for listing props, data, computed data, and methods from *.vue files.
10+
A JSDoc plugin for listing props, data, computed data, and methods from `.vue` files.
11+
12+
:warning: This branch is for Vue 3. If you still use Vue 2, please see [`3.x` branch](https://github.com/Kocal/jsdoc-vuejs/tree/3.x).
13+
14+
---
1115

1216
## Requirements
1317

1418
- Node 10+
15-
- Vue 2
19+
- Vue 3
1620

1721
## Installation
1822

1923
```bash
2024
$ npm install --save-dev jsdoc jsdoc-vuejs
2125
```
2226

23-
You also need to install `vue-template-compiler` that match your Vue version:
27+
You also need to install `@vue/compiler-sfc` that match your Vue version:
2428

2529
```bash
26-
# if you use Vue 2.5.21
27-
$ npm install --save-dev [email protected]
30+
$ npm install --save-dev @vue/compiler-sfc
2831
```
2932

3033
## Usage

0 commit comments

Comments
 (0)