Barebones docs are now viewable
This commit is contained in:
parent
03577c5938
commit
c102e643b8
3 changed files with 6 additions and 6 deletions
|
@ -51,10 +51,10 @@
|
|||
return {
|
||||
content: {},
|
||||
htmlContent: "",
|
||||
markdownFile: "",
|
||||
searchIndex: {},
|
||||
searchResults: {},
|
||||
toc: {},
|
||||
markdownFile: ""
|
||||
toc: {}
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -156,6 +156,7 @@
|
|||
},
|
||||
|
||||
created: function () {
|
||||
console.log(this.markdownFile);
|
||||
this.$http.get(this.markdownFile).then(function (response) {
|
||||
this.htmlContent = md.render(response.body);
|
||||
|
||||
|
|
|
@ -3,4 +3,6 @@ api: true
|
|||
title: API
|
||||
---
|
||||
|
||||
<!--/ < Slate /> /-->
|
||||
<ClientOnly>
|
||||
<Slate markdown-file="/api.md"/>
|
||||
</ClientOnly>
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
<ClientOnly>
|
||||
<Slate markdown-file="/api.md"></Slate>
|
||||
</ClientOnly>
|
Loading…
Reference in a new issue