minor cleanup
This commit is contained in:
parent
190092124c
commit
b875c5f844
|
@ -123,14 +123,13 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { examples, templates, getSources } from "~/src/data";
|
import { examples, templates, getSources } from "~/src/data";
|
||||||
import { buildTemplate, getTemplate } from "../src/buildTemplate";
|
import { buildTemplate } from "../src/buildTemplate";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
examples: examples,
|
examples: examples,
|
||||||
templates: templates,
|
templates: templates,
|
||||||
getTemplate: getTemplate,
|
|
||||||
|
|
||||||
selectedTemplate: buildTemplate(templates, this.$route.path.substr(1).replace(/\/$/, '')),
|
selectedTemplate: buildTemplate(templates, this.$route.path.substr(1).replace(/\/$/, '')),
|
||||||
|
|
||||||
|
|
Reference in New Issue