This commit is contained in:
ポール ウェッブ 2018-06-27 17:00:24 -05:00
parent d8613ada21
commit 5bc56d61f4
2 changed files with 20 additions and 24 deletions

View file

@ -1,28 +1,25 @@
// .vuepress/config.js // .vuepress/config.js
module.exports = { module.exports = exports = {
base: '/', base: "/",
title: 'LBRY.tech', title: "LBRY.tech",
head: [ head: [
['meta', {name: 'viewport', content: 'initial-scale=1, viewport-fit=cover'}], ["meta", { name: "viewport", content: "initial-scale=1, viewport-fit=cover" }],
['link', {rel: 'mask-icon', href: '/favicon.svg', color: '#222'}] ["link", { rel: "mask-icon", href: "/favicon.svg", color: "#222" }]
], ],
themeConfig: { themeConfig: {
repo: 'lbryio/lbry.tech', repo: "lbryio/lbry.tech",
docsBranch: 'master/content', docsBranch: "master/content",
editLinkText: 'Edit this page on Github' editLinkText: "Edit this page on Github"
}, },
ga: 'UA-60403362-1', ga: "UA-60403362-1",
markdown: { markdown: {
config: md => { config: md => md.use(require("markdown-it-wikilinks")({
var wikilinks = require('markdown-it-wikilinks')({
makeAllLinksAbsolute: true, makeAllLinksAbsolute: true,
baseURL: '/glossary.html#', baseURL: "/glossary.html#",
uriSuffix: '', uriSuffix: "",
htmlAttributes: { htmlAttributes: {
class: 'wikilink' class: "wikilink"
}
});
md.use(wikilinks);
} }
}))
} }
} }

View file

@ -1,5 +1,4 @@
import Vue from 'vue' import Vue from "vue";
const EventBus = new Vue();
var EventBus = new Vue(); export default EventBus;
export default EventBus