/vmark-loader

Webpack loader to convert markdown to Vue component.

Primary LanguageJavaScriptMIT LicenseMIT

vmark-loader

NPM version NPM downloads CircleCI donate chat

Webpack loader for vmark.

Install

yarn add vmark vmark-loader --dev

Usage

webpack.config.js:

module.exports = {
  module: {
    rules: [
      {
        test: /\.md$/,
        use: [
          {
            loader: 'vue-loader'
          },
          {
            loader: 'vmark-loader'
          }
        ] 
      }
    ]
  }
}

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

vmark-loader © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).

github.com/egoist · GitHub @egoist · Twitter @_egoistlily