Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

[Bug]: wrong path to Checkout component #351

Open
1 task done
Baroshem opened this issue Apr 25, 2022 · 1 comment
Open
1 task done

[Bug]: wrong path to Checkout component #351

Baroshem opened this issue Apr 25, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Baroshem
Copy link

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

  • I agree to follow this project's Code of Conduct
@Baroshem Baroshem added the bug Something isn't working label Apr 25, 2022
@aureate-labs-team aureate-labs-team self-assigned this Apr 26, 2022
@aureate-labs-team
Copy link
Collaborator

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 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants