docs(v3): fix react script link, mention preconnect in installation (#1197)
This commit is contained in:
parent
d977bc5605
commit
739f9310fa
1 changed files with 5 additions and 1 deletions
|
|
@ -83,13 +83,17 @@ If you don't want to use a package manger, you can add the CSS to the `<head>` o
|
|||
And the JavaScript at the end of your `<body>`:
|
||||
|
||||
```html
|
||||
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@docsearch/react@alpha"></script>
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
||||
</Tabs>
|
||||
|
||||
### Improve first query speed
|
||||
|
||||
You can hint the browser to improve the speed of the first query by adding a `preconnect`, see [#preconnect](#preconnect)
|
||||
|
||||
## Get started
|
||||
|
||||
<Tabs
|
||||
|
|
|
|||
Loading…
Reference in a new issue