Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Vue Storefront 2 integration for Vendure

License

NotificationsYou must be signed in to change notification settings

vuestorefront-community/vendure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stay connected

GitHub Repo starsTwitter FollowYouTube Channel SubscribersDiscord

Vue Storefront 2 integration with Vendure

This project is a Vendure integration forVue Storefront 2.

How to start if you want to try out the integration

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

ChooseVendure or useCustom template from Github option and type:https://github.com/vuestorefront/template-vendure.git.

cd<project_name>
yarn
yarn dev

How to start if you want to contribute?

Want to contribute? Ping us onvendure channel onour Discord!

Requirements

  • NodeJS v14 or later
  • Vendure server running in localhost for GraphQL API orhttps://demo.vendure.io/shop-api
  • Set up auth options in Vendure server (This functionality is available for those who scaffold a local instance of Vendure)
// vendure-config.ts...authOptions:{tokenMethod:'bearer',// authorization header methodrequireVerification:false,// disable register by email verification},

Setting up Vendure Server

https://www.vendure.io/docs/getting-started/

Steps

  1. Fork the repo

  2. Clone your fork of the repo

    git clone https://github.com/vuestorefront/vendure.gitcd vendure
  3. Runyarn to install dependencies

  4. Add your Vendure server GraphQL API uri to env file inpackages/api-client andpackages/theme

    cd packages/themecp .env.example .env
    // packages/theme/.env.exampleGRAPHQL_API=http://localhost:3000/shop-apiTOKEN_METHOD=bearer

    These environment variables will be then used in:

    // packages/theme/middleware.config.jsmodule.exports={integrations:{vendure:{location:'@vue-storefront/vendure-api/server',configuration:{api:{uri:process.env.GRAPHQL_API,tokenMethod:process.env.TOKEN_METHOD},}}}};
  5. Build dependenciesyarn build

  6. Runyarn dev to run theme. You can find other commands inpackage.json

Your project will be running onhttp://localhost:3001 (As Vendure server is running on port3000)

Resources

Support

If you have any questions about this integration we will be happy to answer them onvendure channel onour Discord.

Contributors ✨

Thanks go to these wonderful people 🙌:


Jakub Andrzejewski

💻🚧📆📖

Rafael Garcia Lepper

💻

Michael Bromley

👀

Filip Jędrasik

👀

Mateusz Pietrusiński

👀

igorwojciechowski

⚠️

Heitor Ramon Ribeiro

🧑‍🏫

Milan Zivkovic

💻

michael.douglas@outlook.com

💻

Justyna

💻

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


[8]ページ先頭

©2009-2025 Movatter.jp