Skip to content

Conversation

JaykeyGuo
Copy link

No description provided.

```

2. Inside your project, create `deploy.sh` with the following content (with highlighted lines uncommented appropriately) and run it to deploy:
2. 在你的项目中,创建 `deploy.sh` 包含以下内容 (没有注释的高亮行) 并运行来实现部署:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「没有注释的高亮行」->「取消掉高亮行的注释」

::: tip
You can also run the above script in your CI setup to enable automatic deployment on each push.
::: 提示
可以在配置项中运行以上的脚步,确保在每次更新之后会自动部署。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「脚步」->「脚本」

1. `vue.config.js` 中设置对应的 `baseUrl`

If you are deploying to `https://<USERNAME>.github.io/`, you can omit `baseUrl` as it defaults to `"/"`.
如果部署在个人GitHub域名 `https://<USERNAME>.github.io/`, 可忽略 `baseUrl` 取而代之使用 `"/"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中英文之间请加上空格。

@haoqunjiang
Copy link
Member

Closed in favor of #2706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants