1.9.0-alpha.1 • Published 3 years ago

@mr-hope/vuepress-markdown-loader v1.9.0-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@vuepress/markdown-loader

markdown-loader for VuePress

Usage

const rule = config.module
    .rule('markdown')
      .test(/\.md$/)

rule
  .use('vue-loader')
    .loader('vue-loader')
    .options({ /* ... */ })

rule
  .use('markdown-loader')
    .loader(require.resolve('@vuepress/markdown-loader'))
    .options({
       markdown: /* instance created by @vuepress/markdown */,
       sourceDir: /* root source directory of your docs */,
    })