While attempting to use vue-instantsearch without a build step through native esmodules vue-instantsearch fails to load and an error is printed to the console:
Uncaught TypeError: Failed to resolve module specifier "instantsearch.js/es/connectors/index.js". Relative references must start with either "/", "./", or "../".
vue-instantsearch is usable through esmodules and import-maps
Does this happen only in specific situations?
I believe this is only a problem when using native es modules. I have not tried vue-instantsearch with a build step yet. I'd really like to avoid this alternative if possible.
Bug 🐞
What is the current behavior?
While attempting to use vue-instantsearch without a build step through native esmodules vue-instantsearch fails to load and an error is printed to the console:
Make a sandbox with the current behavior
https://jsfiddle.net/erdw124a/
What is the expected behavior?
vue-instantsearch is usable through esmodules and import-maps
Does this happen only in specific situations?
I believe this is only a problem when using native es modules. I have not tried vue-instantsearch with a build step yet. I'd really like to avoid this alternative if possible.
What is the proposed solution?
What is the version you are using?