shopify
shopify copied to clipboard
[Bug]: wrong path to Checkout component
Expected Behavior
The component should have a correct path.
Actual Behavior
The component does not have a correct path.
In /pages/Checkout.vue there is a component import that is wrong:
import CartPreview from '~/components/Checkout/CartPreview';
The name of the folder is checkout not Checkout. It shows success on localhost build but fails in deployment in Vercel.
Possible Solution
Change the namge of the folder to lowercase
import CartPreview from '~/components/checkout/CartPreview';
Steps to reproduce
Install the Shopify project from CLI Deploy to Vercel See the error
What version of shopify integration are you using?
1.1.0
What version of Node.js are you using?
16
What browser (and version) are you using?
chrome
What operating system (and version) are you using?
macOS
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hmm, as per the VSF core NUXT theme, it seems fine. There is no lowercase checkout directory available there. Please correct me, if I'm missing something :)