@vuepress/markdown-loader

markdown-loader for vuepress

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@vuepress/markdown-loader
20,8435741.9.79 months ago4 years agoMinified + gzip package size for @vuepress/markdown-loader in KB

Readme

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