Open sergiuwaxmann opened 1 year ago
Hello,
I am trying to use this package in a Vue 3 (Vite) TS application but I have this error: Uncaught SyntaxError: ambiguous indirect export: default
Uncaught SyntaxError: ambiguous indirect export: default
After installing the package (npm install -S @fawmi/vue-google-maps), I added the following to my main.ts file:
npm install -S @fawmi/vue-google-maps
main.ts
import VueGoogleMaps from "@fawmi/vue-google-maps"; app.use(VueGoogleMaps, { load: { key: "MY_API_KEY", libraries: "places" } });
When trying to start the application (npm run dev), I get the error mentioned above in the Console.
npm run dev
Vue: ^3.3.4 Vite: ^4.3.9 TypeScript: ~5.0.4
^3.3.4
^4.3.9
~5.0.4
same here ((
Same here
I also get this error
Have you checked out this issue? #148 I just started using this package and had the same problem and the solution in above mentioned issue worked for me
Hello,
I am trying to use this package in a Vue 3 (Vite) TS application but I have this error:
Uncaught SyntaxError: ambiguous indirect export: default
After installing the package (
npm install -S @fawmi/vue-google-maps
), I added the following to mymain.ts
file:When trying to start the application (
npm run dev
), I get the error mentioned above in the Console.Vue:
^3.3.4
Vite:^4.3.9
TypeScript:~5.0.4