-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: Vuepress 2 support #41
Comments
OK, I'll try it... $ npm i -D vuepress-plugin-demo-code@next
# OR
$ pnpm i -D vuepress-plugin-demo-code@next
# OR
$ yarn add -D vuepress-plugin-demo-code@next |
BREAKING CHANGE: remove vuepress-plugin-code-copy "You cannot use other plugins in your plugin anymore, which avoids lots of potential issues caused by plugin nesting. If your plugin depends on other plugins, you should list them in the docs." fix #41
BREAKING CHANGE: remove vuepress-plugin-code-copy "You cannot use other plugins in your plugin anymore, which avoids lots of potential issues caused by plugin nesting. If your plugin depends on other plugins, you should list them in the docs." fix #41
Does this support Vuepress 2 now? |
Yeah, try this one~ $ npm i -D vuepress-plugin-demo-code@next
# OR
$ yarn add -D vuepress-plugin-demo-code@next |
@BuptStEve it doesn't work properly, is it a stable version? |
what's wrong with it? Please provide some pictures or a demo? |
@BuptStEve
and fiixing it manually |
@jtommy |
Thanks. What Vuepress 2 version are you supporting at the moment? |
@jtommy 2.0.0-beta.27 I just make it compatible with 2.0.0-beta.37, please wait a moment. Please try this one~ |
@BuptStEve
It looks like all import from external libs are broken, probably due to Vite |
@jtommy Maybe add this for now~ // config.js
{
// ...
bundlerConfig: {
viteOptions: {
optimizeDeps: {
include: [
'prismjs',
'escape-html',
'codesandbox-import-utils/lib/api/define'
],
}
}
}
} |
@jtommy I just publish this version: |
@BuptStEve thanks. I found the same workaround after my last message. Anyway, I don't think I to be able to use your plugin because in the Vuepress 2.x there is a limit of a script for each .md |
@jtommy I'll use Vue3 as default in next commit. It's fine that you won't use it, every package suits it's own scenario. |
Or you might add a config to allow us to customize the Vue CDN. I think the major part of components doc needs to show more than one example for each page (.MD). |
@jtommy |
Any workaround to meet the need? |
使用了没效果是怎么回事,v2.0.0-beta.38, [email protected] |
|
[email protected] 加了template 预览效果显示不出来,需要怎么处理? |
@bobobabab 给个复现仓库看看? |
@bobobabab template |
@BuptStEve 是的 要配置么还是直接css改 |
@BuptStEve vuepress2.0.0 beta4 改变了plugins的引入方式,这边有计划做适配吗 |
BREAKING CHANGE: remove vuepress-plugin-code-copy "You cannot use other plugins in your plugin anymore, which avoids lots of potential issues caused by plugin nesting. If your plugin depends on other plugins, you should list them in the docs." fix #41
BREAKING CHANGE: remove vuepress-plugin-code-copy "You cannot use other plugins in your plugin anymore, which avoids lots of potential issues caused by plugin nesting. If your plugin depends on other plugins, you should list them in the docs." fix #41
BREAKING CHANGE: remove vuepress-plugin-code-copy "You cannot use other plugins in your plugin anymore, which avoids lots of potential issues caused by plugin nesting. If your plugin depends on other plugins, you should list them in the docs." fix #41
vuepress2.x support copy button? |
Is your feature request related to a problem? Please describe.
I really like this plugin, but I've switched to Vuepress 2. Can you please make this plugin Vuepress 2 compatible?
Thanks
The text was updated successfully, but these errors were encountered: