1.0.2 β€’ Published 2 years ago

@vue-storefront/magento v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

deprecated @vue-storefront/magento

If you are looking for Ve Storefront integration for Magento 2, please follow these links:

All Contributors

How to start if you want to try out the integration

Please follow the installation guide

How to start if you want to contribute?

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

Requirements:

  • NodeJS v16 or later
  • Yarn
  • Magento >= v2.4.3 instance for GraphQL endpoint
  • Change Magento GraphQL Query Complexity and Depth values

Don't forget to change the Magento GraphQL Query Complexity and Depth values Magento 2 by default has a lower value for the complexity of 300, and a higher value for the depth of 20. Magento 2 - Issue #32427

The changes are required, due to the size of the queries and mutations in the api-client implementation.

To do this changes, you can use the Magento 2 module, which adds a configuration panel to your admin, or do this changes manually.

To install the Magento 2 GraphQL Config module, on your Magento installation execute:

composer require caravelx/module-graphql-config

php bin/magento module:enable Caravel_GraphQlConfig

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy

Find more information about the module GraphQl Custom Config

Steps

  1. Fork the repo
  2. Clone your fork of the repo
    example:
    git clone https://github.com/vuestorefront/magento2.git
    cd magento2
  3. Checkout develop branch git checkout develop
  4. Run yarn to install dependencies
  5. Copy .env.example to .env
    $ cp packages/theme/.env.example packages/theme/.env
  6. Update VSF_MAGENTO_GRAPHQL_URL with url to Magento >=2.4.2 GraphQL endpoint, and the other variable accordingly to your store configurations.
    VSF_MAGENTO_GRAPHQL_URL=https://{YOUR_SITE_FRONT_URL}/graphql
  7. Build dependencies yarn build:api-client && yarn build:composables
  8. 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 channel on our Discord.

Contributors ✨

Honorable Mentions

Thanks go to these wonderful people πŸ™Œ:

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

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0-rc.10

2 years ago

1.0.0-rc.8

2 years ago

1.0.0-rc.7

2 years ago

1.0.0

2 years ago

1.0.0-rc.6

2 years ago

1.0.0-rc.5.1

2 years ago

1.0.0-rc.5.4

2 years ago

1.0.0-rc.5.3

2 years ago

1.0.0-rc.5.2

2 years ago

1.0.0-rc.5

2 years ago

1.0.0-rc.5.2.2

2 years ago

1.0.0-rc.5.2.1

2 years ago

1.0.0-rc.4.5

2 years ago

1.0.0-rc.4.4

2 years ago

1.0.0-rc.4.3

3 years ago

1.0.0-rc.4.1

3 years ago

1.0.0-rc.4

3 years ago

1.0.0-rc.3

3 years ago

1.0.0-rc.2

3 years ago

1.0.0-rc.1

3 years ago

1.0.0-beta.11

3 years ago

1.0.0-beta.12

3 years ago

1.0.0-beta.10

3 years ago

1.0.0-beta.13

3 years ago

1.0.0-beta.14

3 years ago

1.0.0-beta.9

3 years ago

1.0.0-beta.8

3 years ago

1.0.0-beta.7

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-beta.3

3 years ago

1.0.0-beta.2

3 years ago