template-shopify's Issues
Update to v1.0.17
template needs to be updated to the newest version
https://github.com/vuestorefront/shopify/tags
Sign Up Error
Hello,
I've found an issue in the Sign Up page, while I try to sign up a email that exist already instaed of giving me a "normal error" from Shopify such as "This email exist already" or something like that, it just give me a VSF error.
[VSF][error]: useUser/register TypeError: Cannot read properties of undefined (reading 'customerUserErrors')
http / https Issue deploying to server using pm2, loop occurring when trying to access via domain
Hi,
Having an issue trying to deploy this onto a server, we've setup an nginx server with yarn 1, node 14, npm 6
We're using pm2 to handle instances / ensure continuous deployment.
It works absolutely fine via server IP, e.g. we can access via http://iphere:3800 but setting up a domain to proxy that, e.g. just a general url, it's causing a redirect loop and memory is spiking, the items looping are:
89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-" 89.145.68.175 - - [17/Aug/2021:11:24:22 +0100] "POST /api/shopify/fetchCustomer HTTP/1.1" 301 169 "-" "axios/0.21.1" "-"
This keeps going until the server eventually returns a 504 gateway timeout.
Is there anything specifically needing done to help this work on a server? I see the demo is working fine, just trying to figure out where we're going wrong.
Thanks,
Lee
Product.vue issue breaking template
Hi,
Seems like latest PR caused an issue within Product.vue
Clean pull, and running yarn dev,
ERROR in ./pages/Product.vue?vue&type=template&id=03500634&scoped=true& (./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./pages/Product.vue?vue&type=template&id=03500634&scoped=true&) Module Error (from ./node_modules/vue-loader/lib/loaders/templateLoader.js)
and
Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.
Looks like stray end tag on L233 of Product.vue, or incorrect nesting at the end.
Thanks,
Lee
Invalid .env
Current .env
SHOPIFY_DOMAIN= 'vsf-next-pwa.myshopify.com',
SHOPIFY_STOREFRONT_TOKEN= '03f21475b97c18fa05c0ab452c368af4'
Normal .env
SHOPIFY_DOMAIN=vsf-next-pwa.myshopify.com
SHOPIFY_STOREFRONT_TOKEN=03f21475b97c18fa05c0ab452c368af4
CORS from local dev
Hi Guys,
I'm CORS error when running locally. Any ideas?
from origin 'http://localhost:3001' has been blocked by CORS policy:
Cheers
question: is the `~/server-middleware/custom-features.js` file actually needed and/or used?
Readme title misspelled
# Vue Storefron Shopify Template
should be # Vue Storefront Shopify Template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.