vuepress-plugin-flexsearch
Version:
Next-Generation full text search library for Vuepress
70 lines (65 loc) • 1.49 kB
JavaScript
const { description } = require("../../package");
module.exports = {
/**
* Ref:https://v1.vuepress.vuejs.org/config/#title
*/
title: "Vuepress Docs Boilerplate",
/**
* Ref:https://v1.vuepress.vuejs.org/config/#description
*/
description: description,
/**
* Extra tags to be injected to the page HTML `<head>`
*
* ref:https://v1.vuepress.vuejs.org/config/#head
*/
head: [
["meta", { name: "theme-color", content: "#3eaf7c" }],
["meta", { name: "apple-mobile-web-app-capable", content: "yes" }],
[
"meta",
{ name: "apple-mobile-web-app-status-bar-style", content: "black" },
],
],
/**
* Theme configuration, here is the default theme configuration for VuePress.
*
* ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html
*/
themeConfig: {
repo: "",
editLinks: false,
docsDir: "",
editLinkText: "",
lastUpdated: false,
nav: [
{
text: "Guide",
link: "/guide/",
},
{
text: "Config",
link: "/config/",
},
{
text: "VuePress",
link: "https://v1.vuepress.vuejs.org",
},
],
sidebar: {
"/guide/": [
{
title: "Guide",
collapsable: false,
children: ["", "using-vue"],
},
],
},
},
/**
* Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/
*/
plugins: [
[require.resolve("../../../"), {}],
],
};