docs: update docs [deploy] (#4037)

* docs: update docs [deploy]

* chore: update ci

* chore: update ci

* fix: ci error
This commit is contained in:
Vben
2024-08-04 22:35:20 +08:00
committed by GitHub
parent 0d46a5471f
commit 36e33ea48a
10 changed files with 27 additions and 16 deletions

View File

@@ -24,10 +24,17 @@ VITE_INJECT_APP_LOADING=false
- 你可以使用跟`index.html`一样的语法,比如`VITE_APP_TITLE`变量,来获取应用的标题。
- 必须保证有一个`id="__app-loading__"`的元素。
-`id="__app-loading__"`的元素,加一个 `hidden` class。
- 必须保证有一个`style[data-app-loading="inject-css"]`的元素。
```html{1,4}
<style data-app-loading="inject-css">
#__app-loading__.hidden {
pointer-events: none;
visibility: hidden;
opacity: 0;
transition: all 1s ease-out;
}
/* ... */
</style>
<div id="__app-loading__">

View File

@@ -162,4 +162,4 @@ git hook 一般结合各种 lint在 git 提交代码的时候进行代码风
### lint-staged
用于自动修复提交文件风格问题,其配置文件为 `.lintstagedrc.mjs`,其核心配置放在`internal/lint-configs/lint-staged-config`目录下,可以根据项目需求进行修改。
用于自动修复提交文件风格问题,其配置文件为 `.lintstagedrc.mjs`,可以根据项目需求进行修改。