React
Reactive Blocs
Reactive Scoped Styles
RxJS
Immer
Lodash
- search
change_this
in the project - this README
- search
rename_this
files
npm i
npm start
Put your non-secret environment-dependent stuff in .env
files
(e.g. GA_MEASUREMENT_ID
, FB_PIXEL_ID
etc.)
After npm run build
static http-server can serve the app from the build
folder
Building an environment-specific build with
docker build --build-arg ENVIRONMENT=PROD -t change_this:latest .
will result in a Docker image with nginx serving the static stuff
Icons are stored in icon-definitions.svg
and used with
<Icon icon="icon-name" />
component.
You can add an .svg
icon with add-icon
script
cd ./scripts
./add-icon ~/Downloads/icon_from_your_favorite_designer.svg icon-name
It will cleanup the svg and strip the colors. You can give it a color with CSS.
<span className="icon">
<Icon icon="icon-name" />
</span>
.icon
color purple
To keep the colors of the imported svg, run add-icon
it with --keepColors
flag.