better-docs icon indicating copy to clipboard operation
better-docs copied to clipboard

feat: Vue 3 Support

Open crutch12 opened this issue 5 years ago • 3 comments

Add vue 3 support

crutch12 avatar Oct 13 '20 18:10 crutch12

To support vue3 we have to update vue-docgen-api version to latest (4.33.0)

vueDocs.parse is async function now so it requires to rewrite code with async functions

crutch12 avatar Oct 22 '20 15:10 crutch12

Also, I'm unable to use @component with my vue 3 project. When I run jsdoc with the @component plugin enabled, I get the error:

Vue packages version mismatch:

- [email protected] (/Volumes/SSD/Data/Devel/midi-play/chordjammer/node_modules/vue/index.js)
- [email protected] (/Volumes/SSD/Data/Devel/midi-play/chordjammer/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

Looks like another thing that has to be fixed for vue 3 support.

abulka avatar Jun 05 '22 00:06 abulka

Also, I'm unable to use @component with my vue 3 project. When I run jsdoc with the @component plugin enabled, I get the error:

Vue packages version mismatch:

- [email protected] (/Volumes/SSD/Data/Devel/midi-play/chordjammer/node_modules/vue/index.js)
- [email protected] (/Volumes/SSD/Data/Devel/midi-play/chordjammer/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

Looks like another thing that has to be fixed for vue 3 support.

Me too, no solution ?

RaphaelMcledger avatar Oct 25 '22 06:10 RaphaelMcledger