Skip to content

请问官网docs如何本地运行,模板很好用 #3315

Answered by SevenOutman
kemisstep asked this question in Q&A
Discussion options

You must be logged in to vote

@kemisstep 运行官网 docs 请参考一下步骤,

  1. 在项目根目录和 docs/ 目录中分别运行 npm install 安装依赖
npm i && npm i --prefix docs
  1. docs/ 目录中运行 npm run dev
npm run dev --prefix docs
  1. 访问 http://localhost:3000

BTW 我会将此 issue 转换为一个 discussion。

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kemisstep
Comment options

@SevenOutman
Comment options

Answer selected by kemisstep
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SevenOutman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3314 on July 28, 2023 02:48.