Simple example repository to be used as skeleton.
In ripe-vendors-example
- Change the project folder name and replace
exampleby the brand's name - Run
npm install - Find and replace the word
examplein the whole project by the brand name in lowercase. Ex:swear - Find and replace the word
Examplein the whole project by the brand name capitalized. Ex:Swear - Rename all the files that have
exampleto the brand's name - Run
npm link
In ripe-white
- Run
npm link ripe-commons-<brand> - Update the file
ripe-white/js/main.js:- Comment the line with
await loadRemotePlugins(); - Comment the lines that are now unused (ripe-white doesn't allow unused code)
- After the line
SwitchTechnicalPlugin.register(pluginus.manager);addrequire("ripe-commons-<brand>").install();
- Comment the line with
In ripe-vendors-example
- Run
npm run watch
In ripe-white
- Run
npm run dev
In the browser
- Use
features=<brand-side>
- Run
npm run build-cdn