calebman / vuepress-plugin-demo-container

Vuepress plugin for demo block.
https://calebman.github.io/vuepress-plugin-demo-container/
MIT License
119 stars 38 forks source link

When support Vue3? #5

Open ifui opened 4 years ago

ifui commented 4 years ago

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 commented 4 years ago

vuepress version 1.5.3

ifui commented 4 years ago

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 commented 3 years ago

vue3可以准备支持了

waycowei commented 3 years ago

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

cjSound commented 2 years ago

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