Skip to content

Commit

Permalink
feat: 修改端口 添加日志
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerzh committed Aug 29, 2022
1 parent 8986c25 commit df157c7
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 91 deletions.
8 changes: 2 additions & 6 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const nav = [
activeMatch: `^/(guide|style-guide|cookbook|examples|cryptocurrency)/`,
items: [
{ text: '💰 加密货币', link: '/cryptocurrency/money' },
{ text: '🚚 工具使用', link: '/tools/emulator' },
{ text: '🚚 工具使用', link: '/tools/echarts' },
{ text: '💡 Idea日志 ', link: '/log/敏捷项目管理' },
]
},
Expand Down Expand Up @@ -202,15 +202,12 @@ export default defineConfigWithTheme<ThemeConfig>({
extends: baseConfig,
lang: 'en-US',
title: '笔记本 📚',
description: '三人行,必有我师焉',
description: '笔记本 📚',
srcDir: 'src',
srcExclude: ['tutorial/**/description.md'],
scrollOffset: 'header',
head: [


],

themeConfig: {
nav,
sidebar,
Expand Down Expand Up @@ -283,7 +280,6 @@ export default defineConfigWithTheme<ThemeConfig>({
stringify: true
}
},

vue: {
reactivityTransform: true
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"scripts": {
"dev": "vitepress",
"dev": "vitepress --port 3006",
"build": "vitepress build",
"serve": "vitepress serve",
"preinstall": "npx only-allow pnpm",
Expand All @@ -25,7 +25,7 @@
"normalize.css": "^8.0.1",
"shiki": "^0.10.1",
"three": "^0.138.0",
"vitepress": "^0.22.2",
"vitepress": "0.22.2",
"vue": "^3.2.26"
},
"config": {
Expand Down
Loading

0 comments on commit df157c7

Please sign in to comment.