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__">