md-loader based on vue-markdown-loader
Convert Markdown file to Vue Component using markdown-it.
# For Vue2
npm i vue-antd-md-loader -D
- Hot reload
- Write vue script
- Code highlight
webpack.config.js
file:
module.exports = {
module: {
rules: [
{
test: /\.md$/,
loader: 'vue-antd-md-loader'
}
]
}
};
WTFPL