mnishihan / vue-storefront2-mock-integration

Mock ecommerce integration module for vue-storefront2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boilerplate for Vue Storefront 2 eCommerce integration

This is a template, to use it you must rename the project changing the {YOUR INTEGRATION NAME} to the name of the integration you are developing. The name must be in lowercase and without any special characters.

grep -rl 'mock' ./ | xargs sed -i '' 's/mock/{YOUR INTEGRATION NAME}/g'

Vue Storefront

Vue Storefront 2 integration with mock

To learn how to build your integration, see our Integration guide.


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 mock channel on our Discord!

Requirements:

  • NodeJS v14 or later

Steps

  1. Fork the repo
  2. Clone your fork of the repo
    example:
    git clone https://github.com/vuestorefront/mock.git
    cd mock
    
  3. Run yarn to install dependencies
  4. Build dependencies yarn build:api-client && yarn build:composables
  5. 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 mock channel on our Discord.

Contributors ✨

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

About

Mock ecommerce integration module for vue-storefront2

License:MIT License


Languages

Language:TypeScript 60.3%Language:JavaScript 38.4%Language:Dockerfile 0.6%Language:Shell 0.6%