@vuepress/markdown-loader

1.9.10 • Public • Published

@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 */,
    })

Package Sidebar

Install

npm i @vuepress/markdown-loader

Weekly Downloads

89,022

Version

1.9.10

License

MIT

Unpacked Size

6.24 kB

Total Files

4

Last publish

Collaborators

  • ulivz
  • yyx990803
  • bencodezen
  • meteorlxy