Barebones docs are now viewable

This commit is contained in:
ポール ウェッブ 2018-06-25 09:27:00 -05:00
parent 03577c5938
commit c102e643b8
3 changed files with 6 additions and 6 deletions

View file

@ -51,10 +51,10 @@
return { return {
content: {}, content: {},
htmlContent: "", htmlContent: "",
markdownFile: "",
searchIndex: {}, searchIndex: {},
searchResults: {}, searchResults: {},
toc: {}, toc: {}
markdownFile: ""
} }
}, },
@ -156,6 +156,7 @@
}, },
created: function () { created: function () {
console.log(this.markdownFile);
this.$http.get(this.markdownFile).then(function (response) { this.$http.get(this.markdownFile).then(function (response) {
this.htmlContent = md.render(response.body); this.htmlContent = md.render(response.body);

View file

@ -3,4 +3,6 @@ api: true
title: API title: API
--- ---
<!--/ < Slate /> /--> <ClientOnly>
<Slate markdown-file="/api.md"/>
</ClientOnly>

View file

@ -1,3 +0,0 @@
<ClientOnly>
<Slate markdown-file="/api.md"></Slate>
</ClientOnly>