@docsearch/js 4.0.0-beta.8 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/esm/index.d.ts +1640 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/umd/index.js +2 -2
- package/dist/umd/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,9 +5,9 @@ JavaScript package for [DocSearch](http://docsearch.algolia.com/), the best sear
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
yarn add @docsearch/js@
|
|
8
|
+
yarn add @docsearch/js@4
|
|
9
9
|
# or
|
|
10
|
-
npm install @docsearch/js@
|
|
10
|
+
npm install @docsearch/js@4
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Get started
|
|
@@ -15,7 +15,7 @@ npm install @docsearch/js@beta
|
|
|
15
15
|
If you don’t want to use a package manager, you can use a standalone endpoint:
|
|
16
16
|
|
|
17
17
|
```html
|
|
18
|
-
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@
|
|
18
|
+
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@4"></script>
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
To get started, you need a [`container`](https://docsearch.algolia.com/docs/api#container) for your DocSearch component to go in. If you don’t have one already, you can insert one into your markup:
|