VuePress博客搭建
本人博客地址,欢迎访问并关注公众号
查看该博客的配置,欢迎star
config.js
目录 docs/.vuepress/congig.js
const path = require("path");
const rootpath = path.dirname(__dirname);
const getConfig = require("vuepress-bar");
const barConfig = getConfig(`${
rootpath}`, {
pinyinNav: true });
// 生成配置信息
module.exports = {
title: "深入前端学习",
description: "前端进阶学习 JavaScript数据结构 前端工程化",
lang: "zh-CN",
head: [["link", {
rel: "icon", href: "/icon.png" }]],
themeConfig: {
nav: [
...barConfig