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 {
|
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);
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,6 @@ api: true
|
||||||
title: API
|
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