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

What should I put in 'platform' when connecting to storefront_api? #103

Open
shunnokw opened this issue Jun 12, 2021 · 0 comments
Open

What should I put in 'platform' when connecting to storefront_api? #103

shunnokw opened this issue Jun 12, 2021 · 0 comments

Comments

@shunnokw
Copy link

I already setup spree2vuestorefront and have a single end point at port 8889
I also setup my elastic search instance and imported everything
What platform should I use at local.config file?
And what should I put in index.js?

 let modules = [
    DefaultVuestorefrontApiModule({
        platform: {
            name: 'magento2',
            platformImplementation: magento2
        }
    }),
    DefaultCatalogModule(),
    DefaultImgModule(),
]

Also, where should I put the endpoint url in?

Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant