-
Notifications
You must be signed in to change notification settings - Fork 923
docs: add pnpm docs #929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add pnpm docs #929
Conversation
|
Might be worth merge it? upd. I think the order should be: npm, pnpm, yarn. This seems more logical. |
pnpm takes less time during install comparing to npm. so we do recommand people to use pnpm as first choise. |
|
We may also need to update the deployment guide to use pnpm as recommendation |
|
Done @meteorlxy |
|
Done |
docs/guide/deployment.md
Outdated
| ``` | ||
|
|
||
| 3. After running `yarn docs:build`, deploy using the command `firebase deploy`. | ||
| 3. After running `pnpm docs:build` `yarn docs:build` or `npm run docs:build`, deploy using the command `firebase deploy`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to mention yarn & npm based on the assumption
docs/guide/deployment.md
Outdated
|
|
||
| - **Build Command:** `yarn docs:build` | ||
| - **Publish directory:** `docs/.vuepress/dist` | ||
| - **Build Command:** `npm i -g pnpm@7 && pnpm docs:build` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary to add @7 for pnpm? If not, we'd better remove it so we don't need to update it in the future
docs/zh/guide/deployment.md
Outdated
| ``` | ||
|
|
||
| 3. 在执行了 `yarn docs:build` 或 `npm run docs:build` 后, 使用 `firebase deploy` 指令来部署。 | ||
| 3. 在执行了 `pnpm docs:build`, `yarn docs:build` 或 `npm run docs:build` 后, 使用 `firebase deploy` 指令来部署。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
docs/zh/guide/deployment.md
Outdated
|
|
||
| - **Build Command:** `yarn docs:build` | ||
| - **Publish directory:** `docs/.vuepress/dist` | ||
| - **Build Command:** `npm i -g pnpm@7 && pnpm docs:build` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
No description provided.