Comments (10)
You need to point the storefront to /jsonapi frontend JSON:API, not the GraphQL admin API.
from vuestore-theme.
First error:
require() of ES Module /vuestore-theme/node_modules/@glidejs/glide/dist/glide.js from /vuestore-theme/node_modules/vue-server-renderer/build.dev.js not supported. glide.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead rename glide.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /vuestore-theme/node_modules/@glidejs/glide/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
Second error:
[theme] ERROR [Vue warn]: Error in setup: "Error: This must be called within a setup function."
[theme]
[theme] found in
[theme]
[theme] ---> at _theme/layouts/default.vue
[theme]
[theme]
from vuestore-theme.
@maynor96 Can you please provide more details about it
if possible list of errors so we can look and resolve it
from vuestore-theme.
did you solve this issue? it seems like the repo doesn't work
from vuestore-theme.
I have done the same steps (git clone https://github.com/skynetindia/vuestore-theme.git), yarn dev
works for me but after having launch my local storefront (tried to connect to graph sql API of my Aimeos by changing DOMAIN=http://127.0.0.1:8000/admin/default/graphql
inside packages/theme/.env), I have a lot of errors and don't really understand what's wrong ?
from vuestore-theme.
Thanks @aimeos and with JSON:API, is it possible to make POST requests on every Aimeos Resources ? I wanted to make also my own backend because I have to manage a lot of new Resources inside and I don't really find how to really customize Backend.
from vuestore-theme.
@aimeos do I need to replace by DOMAIN=http://127.0.0.1:8000/admin/default/jsonadm
?
from vuestore-theme.
Ok it's directly DOMAIN=http://127.0.0.1:8000/jsonapi
, I didn't find it inside Aimeos documentation. but I still have a lot reactive errors insode components ?
from vuestore-theme.
@skynetindia @aimeos Sorry for my questions but when I want to use SSR mode, I have also this error :
from vuestore-theme.
Okay we will look for this and give feedback asap
from vuestore-theme.
Related Issues (1)
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.
from vuestore-theme.