Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vuepress-plugin-demo-container

calebman177MIT0.2.0

Vuepress plugin for demo block.

documentation, plugin, vue, vuepress, demo, block

readme

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

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.2.0 (2020-08-19)

Bug Fixes

  • demoblick: solve the problem of code line number style (675666e), closes #4

0.1.1 (2020-07-06)

Bug Fixes

  • demoblock.vue: fix plugin usage bug (2d8ded9), closes #3

0.1.0 (2020-06-01)

Features

  • support custom demo component, use demo、description、source slots (6cc2ec4)
  • support multi-language configuration (6805af5)

0.0.1 (2020-05-30)

Features

  • core: initialize the plugin code (7b6581b)