vue-cli-plugin-markdown

A Vue Cli 3 plugin to import markdown with marked
703 2
Install
npm install vue-cli-plugin-markdown
Latest Version:0.1.2
License:MIT
Last Updated:Jun 25, 2019
Links: GitHub  ·  npm
Maintainer: superoak

Vue CLI Plugin Markdown

A Vue Cli 3 plugin to import or require and parse .md files with no required configuration.

IMPORTANT: Your app must be created with Vue-CLI 3 (vue create my-app), will not work with Vue-CLI 2 (vue init webpack my-app)!

Quick Start:

Open a terminal in the directory of your app created with Vue-CLI 3.

Then, install vue-cli-plugin-markdown by running:

vue add markdown

That's It! You're ready to import or require .md files!

Example:

<template>
  <div v-html="markdown"/>
</template>

<script>
import markdown from "@/assets/markdown.md";

export default {
  data() {
    return {
      markdown
    };
  }
};
</script>

Related Packages

vue-cli-plugin-md-component

A Vue Cli 3 plugin to import markdown as vue component

487
vue-cli-plugin-electron-builder

Easily Build Your Vue.js App For Desktop With Electron

223,638 4,068
vue-cli-plugin-evwt

The EVWT fork of vue-cli-plugin-electron-builder

1,658 4,068
@akumzy/vue-cli-plugin-electron-builder

A Vue Cli 3 plugin for Electron with no required configuration

1,482 0

Version History

Version Released License
0.1.2 MIT
0.1.1 MIT
0.1.0 MIT