Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 661 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 661 Bytes

vue-antd-md-loader

md-loader based on vue-markdown-loader

Convert Markdown file to Vue Component using markdown-it.

Example

ant-design-vue

Installation

# For Vue2
npm i vue-antd-md-loader -D

Feature

  • Hot reload
  • Write vue script
  • Code highlight

Usage

Documentation: Using loaders

webpack.config.js file:

module.exports = {
  module: {
    rules: [
      {
        test: /\.md$/,
        loader: 'vue-antd-md-loader'
      }
    ]
  }
};

License

WTFPL