You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1859: Refactor `README.md` installation and import sections r=Strift a=flevi29
# Pull Request
## Related issue
Fixes#1843
## What does this PR do?
- refactors `README.md` installation and import sections
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Thank you so much for contributing to Meilisearch!
Co-authored-by: F. Levi <[email protected]>
> [LTS and Maintenance versions](https://github.com/nodejs/Release?tab=readme-ov-file#release-schedule)
62
+
> are supported and tested. Other versions may or may not work.
59
63
60
-
Instead of using a package manager, you may also import the library directly into your [HTML via a CDN](#include-script-tag).
64
+
Other runtimes, like Deno and Bun, aren't tested, but if they do not work with
65
+
this package, please open an issue.
61
66
62
67
### Run Meilisearch <!-- omit in toc -->
63
68
@@ -69,48 +74,70 @@ Instead of using a package manager, you may also import the library directly int
69
74
70
75
After installing `meilisearch-js`, you must import it into your application. There are many ways of doing that depending on your development environment.
71
76
77
+
<details>
78
+
<summary><h4>⚠️ If any issues arise importing <code>meilisearch/token</code></h4></summary>
-[`tsconfig.json` has to be set up correctly](https://www.typescriptlang.org/docs/handbook/modules/reference.html#packagejson-exports)
83
+
- take a look at
84
+
[Centralized Recommendations for TSConfig bases](https://github.com/tsconfig/bases?tab=readme-ov-file)
85
+
86
+
</details>
87
+
72
88
> [!WARNING]
73
-
> -[default export](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export#using_the_default_export) is deprecated and will be removed in a future version https://github.com/meilisearch/meilisearch-js/issues/1789
74
-
> - exports will stop being directly available on the global object (usually `window`) https://github.com/meilisearch/meilisearch-js/issues/1806
Meilisearch provides and maintains many SDKs and integration tools like this one. We want to provide everyone with an **amazing search experience for any kind of project**. For a full overview of everything we create and maintain, take a look at the [integration-guides](https://github.com/meilisearch/integration-guides) repository.
0 commit comments