Skip to content

zhengzhenning/da

Repository files navigation

环境

  • Node.js (v20.14.0)
  • NPM (10.7.0)

依赖下载

npm install pkg --registry https://registry.npmmirror.com

项目基本骨架结构

.
├── .github (可选的) → GitHub 配置文件存放路径
│    └── workflow → GitHub 工作流配置
│         └── docs-deploy.yml → 自动部署文档的工作流
│
├── src → 文档文件夹
│    │
│    ├── .vuepress (可选的) → VuePress 配置文件夹
│    │    │
│    │    ├── dist (默认的) → 构建输出目录
│    │    │
│    │    ├── public (可选的) → 静态资源目录
│    │    │
│    │    ├── styles (可选的) → 用于存放样式相关的文件
│    │    │
│    │    ├── config.{js,ts} (可选的) → 配置文件的入口文件
│    │    │
│    │    └── client.{js,ts} (可选的) → 客户端文件
│    │
│    ├── ... → 其他项目文档
│    │
│    └── README.md → 项目主页
│
└── package.json → Nodejs 配置文件

升级 VuePress 版本

npx vp-update

Npm 国内镜像配置

  • 腾讯云镜像
npm config set registry http://mirrors.cloud.tencent.com/npm/
  • 淘宝镜像
npm config set registry https://registry.npmmirror.com
  • 华为云镜像
npm config set registry https://mirrors.huaweicloud.com/repository/npm/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published