How to use this package with VueJS 3 SPA ? #33
Replies: 4 comments
-
I suspect that this issue is linked to Already Reported Issue This is the first time Im trying out LemonSqueezy. Am i missing something? |
Beta Was this translation helpful? Give feedback.
-
I have rechecked the docs. And Im not missing anything! https://github.com/lmsqueezy/lemonsqueezy.js#installation |
Beta Was this translation helpful? Give feedback.
-
@lalithhakari were you able to make it work? I am using react and facing the same issue. |
Beta Was this translation helpful? Give feedback.
-
This has been fixed with the 1.2.5 version. |
Beta Was this translation helpful? Give feedback.
-
My backend is powered by Laravel and using latest LemonSqueezy .
Frontend is powered by VueJS v3 with TS.
Steps i have done till now
npm install @lemonsqueezy/lemonsqueezy.js
<script setup lang="ts"> import LemonSqueezy from "@lemonsqueezy/lemonsqueezy.js" </script>
By just following these 2 steps in frontend, im facing this error
"[plugin:vite:import-analysis] Failed to resolve entry for package "@lemonsqueezy/lemonsqueezy.js". The package may have incorrect main/module/exports specified in its package.json."
Beta Was this translation helpful? Give feedback.
All reactions