0.1.2 • Published 4 years ago

argdown-vue v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

argdown-vue

Argdown with Vue.js.

getting started

npm install --save argdown-vue

Then in your project's main.js you'll need to import and use the library, i.e.

import Vue from 'vue';
import App from './App.vue';
import ArgdownVue from 'argdown-vue';
Vue.use(ArgdownVue);

Which will give you access to an argdown-map component with two parameters, e.g.

<argdown-map :markdown="argument" :options="{withoutLogo: true}" />

development

I leaned heavily on this useful tutorial though I had to pin the rollup-plugin-vue dependency to stick with vue 2.