mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-07-06 22:57:16 +08:00
Compare commits
5 Commits
ef8331bd23
...
20d2cc0545
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20d2cc0545 | ||
|
|
931a73bd52 | ||
|
|
a6f7b5025f | ||
|
|
1dfa8359a1 | ||
|
|
3db8f8a5b4 |
11
.github/workflows/deploy-v2-site.yml
vendored
11
.github/workflows/deploy-v2-site.yml
vendored
@ -17,6 +17,11 @@ jobs:
|
||||
with:
|
||||
ref: '2.x'
|
||||
|
||||
- name: Set Node Version
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.x'
|
||||
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@v1
|
||||
|
||||
@ -24,17 +29,17 @@ jobs:
|
||||
run: npx --no-install vant-cli build-site
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.0
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: site
|
||||
target-folder: v2
|
||||
|
||||
- name: Deploy for GitHub 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.0
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
with:
|
||||
branch: main
|
||||
folder: packages/vant/site-dist
|
||||
folder: site
|
||||
token: ${{ secrets.VANT_UI_TOKEN }}
|
||||
repository-name: vant-ui/vant-ui.github.io
|
||||
target-folder: vant/v2
|
||||
|
||||
@ -16,7 +16,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
|
||||
**Vant 2 维护提示**
|
||||
|
||||
目前 Vant 3 已经发布超过 18 个月。对于 Vant 2,我们会将维护投入降低至最小范围,这意味着:
|
||||
目前 Vant 3 / 4 已经发布超过 24 个月。对于 Vant 2,我们会将维护投入降低至最小范围,这意味着:
|
||||
|
||||
- 不再主动迭代新的功能。
|
||||
- 致命 bug 依然会被处理和修复。
|
||||
|
||||
@ -152,7 +152,7 @@ export default {
|
||||
tag = `${tag} ${option.dot ? 'dot' : ''}`;
|
||||
}
|
||||
if ('badge' in option) {
|
||||
tag = `${tag} badge="${option.badge}"`;
|
||||
tag = `${tag} ${this.isWeapp ? 'info' : 'badge'}="${option.badge}"`;
|
||||
}
|
||||
if ('color' in option) {
|
||||
tag = `${tag} color="${option.color}"`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user