-
Hello, I have tested algolia autocomplete in sandbox and it work fine. so in my project (laravel website) i tried to create algolia.tsx into my JS folder |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Am I right in assuming that js/algolia.tsx hasn't been setup for transpilation to JS via webpack or similar? You followed the instructions for using a bundler, so that needs to be used, except if you import via UMD instead |
Beta Was this translation helpful? Give feedback.
-
I got this error
|
Beta Was this translation helpful? Give feedback.
-
Solve it by just add /** @jsxRuntime classic / in the first line of my tsx file
|
Beta Was this translation helpful? Give feedback.
Solve it by just add /** @jsxRuntime classic / in the first line of my tsx file
Now everything work fine. Thank you I didn't know anything about bundler :( but now I know little bit 👍