How to start the b2b-platform vue.js watcher
As soon as you log in as a customer employee or as a sales agent, the B2B-Platform opens - that's what we call this Vue.js interface.
As soon as you log in as a customer employee, the B2B-Platform opens - that's what we call this Vue-Js interface.
You can extend or overwrite this B2B platform according to your requirements. You can find helpful links here: How to add „Menü Item“ on B2BPlattform
But before you can start developing you have to start the Vue.js Watcher. In your local installation (we recommend DOCKWARE.IO) in the Shopware root folder you can use the following command to start the Vue.js Watcher:
Tip: When executing the watch command, the command goes through all folders and indexes the main.js files. So if you are developing an extension, start the watcher only after creating the main.js file in the "{pluginRoot}/src/Resources/app/b2b_platform/" folder.
Console command:
Please replace with the <email> of an employee or a sales representative
Command example for Henk Becker (Employee at Ektek GmbH - Testdata)
Command example for Markus Bauer (Sales Representative at Shopowner - Testdata)
After entering the command you get prompted to select the wanted sales channel and domain (if multiple are available).
The Vue.js watcher starts after the necessary selections and can be opened under the port 9998 or the link http://localhost:9998/b2b_platform/ after being compiled successfully.
Last updated