@hkyhy/marsun-components-core 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,6 +68,12 @@ npm run typecheck
|
|
|
68
68
|
|
|
69
69
|
### GitHub Pages
|
|
70
70
|
|
|
71
|
+
**deploy 报 404 时**:说明仓库尚未启用 Pages,按下列步骤操作(仅需一次):
|
|
72
|
+
|
|
73
|
+
1. 打开 https://github.com/hkyhy/MARSUN_components-core/settings/pages
|
|
74
|
+
2. **Build and deployment → Source** 选择 **GitHub Actions**(不要选 Deploy from a branch)
|
|
75
|
+
3. 保存后,到 **Actions → Deploy GitHub Pages → Re-run all jobs**
|
|
76
|
+
|
|
71
77
|
- 推送 `main` 后由 `.github/workflows/pages.yml` 自动部署
|
|
72
78
|
- 项目页 base path:`/MARSUN_components-core/`
|
|
73
79
|
- 本地模拟 Pages 构建:`VITE_BASE_PATH=/MARSUN_components-core/ npm run build:showcase && npm run preview:showcase`
|