Closed maziarz closed 7 years ago
The package was given as a caret version in package.json
, therefor it was being updated from alpha to beta automagically, which caused problems with the code. I locked the version to 1.0.0-alpha.10
and everything was spinning correctly agaian.
I have lately moved a site to Nuxt (VueJS), and after much debugging i have determined that something goes wrong in the build process when
shopify-buy
is included. I have no clue what is causing this issue, and if its more related to Nuxt build process rather than the SDK. Neverthless i have included a full functional sample and a live demo:Source: https://github.com/maziarz/nuxt-netlify-test Demo: https://florist-coder-21347.netlify.com/
The shopify-buy SDK resides within the store.js file: https://github.com/maziarz/nuxt-netlify-test/blob/master/store/index.js