Building the Merchant Portal frontendEdit on GitHub
This document provides details about building the frontend part of the Merchant Portal.
- All related configs are located in the
- The built-in frontend stuff (css, fonts, images, js) is in the
Modules for Merchant Portal are split into composer modules, and each module has its own application in the form of an Angular Module with Angular+Web Components.
Every module has an entry point called
entry.ts that is collected during the build as webpack entries and included in the Merchant Portal build as a chunk.
Those chunk names are taken from the module name and then transformed into a
General structure of the frontend modules in the Spryker Marketplace can be found in the Module structure.
The frontend of the Merchant Portal is built using the following commands:
npm run mp:build
build in the watch mode
npm run mp:build:watch
npm run mp:build:production
For submitting the form