adding support for markdown in pages

This commit is contained in:
hamdy
2020-11-08 17:24:55 +02:00
parent b7b3e9334a
commit 78b21036ca
5 changed files with 59 additions and 8 deletions

View File

@@ -26,4 +26,6 @@ export default function (Vue, {router, head, isClient}) {
defaultPlacement: 'top-end',
defaultClass: 'bg-black text-xs px-2 leading-normal py-1 rounded absolute text-gray-400 max-w-xs mb-1'
})
var VueMarkdown = require('vue-markdown');
Vue.use(VueMarkdown);
}