1
0
Fork 0

docs(v3): fix react script link, mention preconnect in installation (#1197)

This commit is contained in:
Clément Vannicatte 2021-12-01 13:32:26 +01:00 committed by GitHub
parent d977bc5605
commit 739f9310fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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