vuepress-plugin-demo-container-ext

1.0.1 • Public • Published

Introduction

点此查看中文简介

Demo Container is a Vuepress-based plug-in, which can help you add Vue examples when writing documents. Its original intention is to reduce the difficulty of adding some related examples when writing component documents.

Using Vuepress to write component examples has the following embarrassment:

  1. Component examples and sample code are essentially the same, but need to be written twice;
  2. Vuepress cannot render the export default {} code block in Markdown;

The Demo Container refers to Element UI's document rendering and implements the same syntax as it can be used to write sample syntax directly in Markdown.

Click here for examples and documentation

Package Sidebar

Install

npm i vuepress-plugin-demo-container-ext

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

544 kB

Total Files

24

Last publish

Collaborators

  • twangyongjian