npm i vuepress-plugin-demo-container-v2 -D Usage Open the.vuepress/config.jsfile, and then reference the plugin in the appropriate location: module.exports={plugins:['demo-container-v2']} Write the following code in the Markdown file: ...
Write an example to automatically generate component examples and code examples by the custom::: demosyntax; Support theimportsyntax in code example; Install Useyarn: yarn add vuepress-plugin-demo-container-v2 -D Ornpm: npm i vuepress-plugin-demo-container-v2 -D ...