Skip to content

When support Vue3? #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ifui opened this issue Aug 6, 2020 · 5 comments
Open

When support Vue3? #5

ifui opened this issue Aug 6, 2020 · 5 comments

Comments

@ifui
Copy link

ifui commented Aug 6, 2020

The plugin very well.
But now, I'm working code with Vue3.
I run command vuepress dev .
some errors like that:

wait Extracting site metadata...
tip Apply theme @vuepress/theme-default ...
warning An error was encountered in plugin "demo-container"
tip Apply plugin container (i.e. "vuepress-plugin-container") ...

Maybe not support Vue3 i thought

@ifui
Copy link
Author

ifui commented Aug 6, 2020

vuepress version 1.5.3

@ifui
Copy link
Author

ifui commented Aug 6, 2020

Debug info

debug Plugins defined at @vuepress/internal-site-config [ 'demo-container' ]
debug Error: 

Vue packages version mismatch:

- vue@3.0.0-rc.5 (/Users/ifui/workspace/Vue/dev/ifui-vue/node_modules/vue/index.js)
- vue-template-compiler@2.6.11 (/Users/ifui/workspace/Vue/dev/ifui-vue/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.

@tomgao365
Copy link

vue3可以准备支持了

@waycowei
Copy link

waycowei commented Jun 4, 2021

@ifui VuePress info? VuePress 2.x was not supported yet,maybe l will take a look.

@cjSound
Copy link

cjSound commented Mar 9, 2022

可以参考下这个哦,支持vue3和vuepress2vuepress-plugin-demo-container-vue3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants