docs: remove loading dialog section from quickstart guide (#2585)

This commit is contained in:
Luffy 2025-08-07 10:32:22 +08:00 committed by GitHub
parent 743e9cb484
commit 4c9e1117ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,30 +114,6 @@ cd docs && python -m SimpleHTTPServer 3000
cd docs && python -m http.server 3000
```
## Loading dialog
If you want, you can show a loading dialog before docsify starts to render your documentation:
```html
<!-- index.html -->
<div id="app">Please wait...</div>
```
By default, the `id` attribute of the main container is `app`. If you want to use a different id, you must also set the `data-app` attribute, and [configure](configuration.md#el) the `el` parameter accordingly:
```html
<!-- index.html -->
<div data-app id="main">Please wait...</div>
<script>
window.$docsify = {
el: '#main',
};
</script>
```
<script>
(function() {
const linkElm = document.querySelector('#template a[download="index.html"]');