CodingItWrong / webpack-react

A project that builds a trivial React/React Router app with webpack

Repository from Github https://github.comCodingItWrong/webpack-reactRepository from Github https://github.comCodingItWrong/webpack-react

webpack-react

A straightforward webpack template project for React and React Router.

  • Client-side routing handled for React Router locally and on Netlify
  • CSS saved to a CSS file via mini-css-extract-plugin, with hot loading of style changes locally in development
  • Static assets copied via copy-webpack-plugin
  • Cypress for end-to-end testing
  • CI on GitHub Actions
  • ESLint and Prettier configured

Getting Started

Clone this repo or download a zip file of it and use it to start your project.

Installation

yarn install

Development

yarn start

Testing

Start the development server, then run:

yarn cypress

Release

yarn build

Then deploy the results in the dist folder to a hosting provider or CDN.

License

MIT

About

A project that builds a trivial React/React Router app with webpack


Languages

Language:JavaScript 95.4%Language:HTML 4.0%Language:CSS 0.6%