bigcommerce / bc-nuxt-vue-starter Goto Github PK
View Code? Open in Web Editor NEWA starter site for Vue + Nuxt based storefronts that uses Divante's Storefront UI and BC's GraphQL API
A starter site for Vue + Nuxt based storefronts that uses Divante's Storefront UI and BC's GraphQL API
Hi,
I am trying to get this setup and I'm running in to a CORS issue on initial launch.
Assuming I've got my .env file setup correctly (not 100% sure I did), when the home page loads (prior to redirecting to the error page) I get the following CORS error:
Access to XMLHttpRequest at 'https://api.bigcommerce.com/stores/xxx/v3/storefront?field=status' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Can anyone point me in a direction to get past this? Thank you
Hello!
My question is about the upcoming Nuxt 3 release, do you have plans to update the project with Nuxt 3 in the near future? Would be nice to have official BigCommerce word on this matter ๐
When attempting to register a new customer using the sandbox store, it appears that the request from the localhost server to the big commerce v2 customers management api is timing out. I receive the following error:
ERROR [HPM] Error occurred while trying to proxy request /stores/{REDACTED}/v2/customers from localhost:3000 to https://api.bigcommerce.com (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)
After manually creating a new customer through the big commerce management console and using the configured credentials to login, I receive a successful login response, but the customer data is returned as "null". The payload is returned as :
{"message":"Successfully login!","body":{"data":{"customer":null},"cookie":"Shopper-Pref=REDACTED; Expires=Fri, 23 Apr 2021 17:41:17 GMT; Path=/; HttpOnly"},"status":true}
I have configured my api token to read/write Customer and Customer Login scopes.
Steps to reproduce:
Create new sandbox store using the link in the root's README.md
Follow the steps in the root's README.md to configure .env file and add required routes.
Attempt to register a new customer.
Manually create new customer through big commerce web console
Login with configured credentials
Examine response
The link in the readme for the sandbox account goes to a form that doesn't work? After completing and submitting the form the loader spins and then nothing happens. I've tried with 2 different emails that have the same result.
I created some new routes to pull in blog content for a project I'm working on.
Would a PR to bring that feature to this project be welcome?
Actually, the V2 Blog API might not be stable enough for headless sites. https://support.bigcommerce.com/s/question/0D54O00006qmW8vSAE/v2-blog-api-query-filters-arent-working
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.