Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

danielwertheim/my-react-boilerplate

Repository files navigation

My React boilerplate

Just my little boilerplate for getting started and trying to get a grasp of Webpack, React, React-Router etc. With a nice hot-module dev flow as well as production release build.

Dependencies

Everything is using npm.

Bootstrap

Yes, it's native Bootstrap3 and jQuery (I know) so it's not (for now) using e.g reactstrap.

It references the JS and Less from node_modules so you can easily include what you use. See: ./src/styling/bootstrap.less.

Glyphicons are replaced with Fontawesome.

Webpack

Supports:

  • Bundling (react, vendors, app)
  • Minification
  • Cache busting etc
  • Less, fonts, icons

npm scripts

  • start: dev server configured for dev flow with hot module reloading etc. Served from ./src.
  • clean: cleans ./wwwroot
  • build: builds without minification, cache busting etc. to ./wwwroot
  • build-release: builds for release, using minification, cachebusting etc to ./wwwroot
  • wwwroot: serve what is in wwwroot using lite-server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published