Package back-office-header-js
This package contains all js files loaded by the smb_edition module.
Build the package
⚠️ We highly recommend to launch the build with the smb_edition build script. The Vue.js application sources will not be on the package otherwise.
In order to build the package, you first need to install all dependencies.
npm i
Then, create a .env
based on the .env.example
file and complete it.
cp .env.example > .env
Then you can launch the build command. The build will be into the dist
folder.
npm run build
The script will copy all js files into the dist
folder and minify all files into the destination.
Dependencies
This package depends on the following packages :
- @segment/analytics-next : Segment’s JavaScript SDK