You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@vue-storefront/magento-api

Package Overview
Dependencies
Maintainers
7
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-storefront/magento-api

1.0.0-beta.9
npmnpm
Version published
Weekly downloads
1.1K
-26.47%
Maintainers
7
Weekly downloads
 
Created
Source

Vue Storefront 2 integration with Magento (WIP)

@vue-storefront/magento-api

This is only the api-client package, you need to install the other dependencies also.

This project is a Magento 2 integration for Vue Storefront 2. This integration is being developed by superheroes from Cyberfuze, Ecritel and Leonex ❤️

All Contributors

How to start if you want to try out the integration

yarn global add @vue-storefront/cli
vsf init <project_name> && cd <project_name> && yarn && yarn dev

How to start if you want to contribute?

Want to contribute? Ping us on magento2-vsf2 channel on our Discord!

Requirements:

  • NodeJS v12 or later
  • Magento v2.4 instance for GraphQL endpoint

Steps

  • Fork the repo
  • Clone your fork of the repo
    example:
    git clone https://github.com/vuestorefront/magento2.git
    cd magento2
    
  • Checkout develop branch git checkout develop
  • Run yarn to install dependencies
  • Copy .env.example and update GraphQL Endpoint
    cp packages/theme/.env.example .env
    
  • Update MAGENTO_GRAPHQL= with url to Magento 2.4 GrapgQL endpoint
    MAGENTO_GRAPHQL=https://{YOUR_SITE_FRONT_URL}/graphql
    
  • Build dependencies yarn build:api-client && yarn build:composables
  • Run yarn dev:theme to run theme. You can find other commands in package.json
  • If you need HMR on Api Client/Composables run yarn dev:api-client or yarn dev:composables on a separate terminal window.

Resources

Support

If you have any questions about this integration we will be happy to answer them on magento2-vsf2 channel on our Discord.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Heitor Ramon Ribeiro

💻 🚧 📆

Dominik Deimel

💻 📖

Lior Lindvor

💻

Alef Barbeli

📖

Henrique Lopes

📖

Filip Rakowski

💬 🧑‍🏫 👀

Filip Sobol

💬 🧑‍🏫 👀

Patryk Andrzejewski

💬 🧑‍🏫 👀

This project follows the all-contributors specification. Contributions of any kind welcome!

FAQs

Package last updated on 13 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts