Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.29 KB

README.md

File metadata and controls

34 lines (18 loc) · 1.29 KB

What is it?

It's a simple React application, based on this calculator, showcasing how a white label app could be implemented with React and Webpack.

Have a look at this blog post for detailed explanation of how it works.

Building

You can build three different versions of this app. One for each "brand": calc_co, acme and the default.

Obviously, before building it you need to run npm install.

Default brand

npm run build will produce the following app. See it live here.

Default branded app screenshot

Acme brand

APP_BRAND=acme npm run buid will produce the following app. See it live here.

Acme branded app screenshot

Calc Co brand

APP_BRAND=calc_co npm run buid will produce the following app. See it live here.

Calc_co branded app screenshot

Funding

If you like my work and thinking about using it in a commercial project, please consider buying me a coffee. Thank you.