better-docs
better-docs copied to clipboard
feat: Vue 3 Support
Add vue 3 support
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
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.
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 ?