Fabrice Reynaud
Explore posts from serversAAlokai
•Created by vnnndrew_ on 11/23/2023 in #🙋|general-help
Problem, i dont see the products
Hello, could you give a little more details? Did you use a boilerplate project? Did you modify anything, like use a custom integration, or did you run it out of the box?
4 replies
AAlokai
•Created by valerii.f on 11/20/2023 in #🙋|general-help
Problems using Custom Integration
Well like I said in my case I didn't import the middleware in the Next project but just ran the server directly from the integration boilerplate project with "yarn dev".
However I did try to import the SDK from the integration boilerplate into the Next app without using "yarn link" but instead using in package.json (this would be the name and the path of the middleware for you):
"dependencies": {
"@vue-storefront/integration-boilerplate-sdk": "portal:/var/www/sdk/packages/sdk",
And then:
import { boilerplateModule, BoilerplateModuleType } from '@vue-storefront/integration-boilerplate-sdk';
9 replies
AAlokai
•Created by valerii.f on 11/20/2023 in #🙋|general-help
Problems using Custom Integration
Ah sorry you said you copied the lib folder into the Next project, so no need to use yarn link between the two projects, then maybe you need to import it using a path to the lib folder instead of the package name? I think the module "@vue-storefront/integration-boilerplate-api/server" isn't known in the frontend app because it was build in the integration app, but it should work if you just import the folder I think. Again I'm just starting to play with this framework so I hope maybe someone more knowledgeable than me will be able to help you 🙂
9 replies
AAlokai
•Created by valerii.f on 11/20/2023 in #🙋|general-help
Problems using Custom Integration
Hello, if you import the module like that I think maybe you need to use yarn link from the integration boilerplate project in order for the next project to see that dependency?
9 replies
AAlokai
•Created by Fabrice Reynaud on 11/17/2023 in #🙋|general-help
Project structure for multiple integrations in the middleware
Thank you @rohrig for sharing the link! Actually we are in a real world situation where we need to build several custom integrations, one with Prestashop (which doesn't exist yet for the VSF SDK as far as I know), one with a custom CMS, and one with our ETL, and maybe more.
3 replies