docs: update docs [deploy] (#4037)
* docs: update docs [deploy] * chore: update ci * chore: update ci * fix: ci error
This commit is contained in:
@@ -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__">
|
||||
|
Reference in New Issue
Block a user