vue3-markdown-demo-loader
v1.0.2
Published
:::demo 写vue :::demo
Downloads
5
Readme
自定义markdown-loader
:::demo 写vue :::demo
标记为组件渲染
{
test: /\.md$/,
use: [
{
loader: 'vue-loader-v16',
options: {
// compilerOptions: {
// preserveWhitespace: false,
// },
compiler: require('@vue/component-compiler-utils')
},
},
{
loader: path.resolve(__dirname, '../markdownLoader/index.js'),
}
]
}