Does it work offline? Without backend? #186
-
Does Lyra work when deployed on static web hosting? |
Beta Was this translation helpful? Give feedback.
Answered by
micheleriva
Nov 18, 2022
Replies: 1 comment 2 replies
-
Hi @abitrolly! You can just import it as: <html>
<body>
<script type="module">
import { create, search, insert } from "https://unpkg.com/@lyrasearch/lyra@latest/dist/esm/src/lyra.js";
// ...
</script>
</body>
</html> and use it directly in any major browser. Let me know if you have any other questions! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
RafaelGSS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @abitrolly!
Yes, absolutely, Lyra is 100% capable of running in your browser.
You can just import it as:
and use it directly in any major browser.
Let me know if you have any other questions!