Skip to content

jonlu/frontend-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FrontEnd Scripts

  $ create-react-app my-app --scripts-version frontend-scripts

FrontEnd Scripts makes it easy to spin up a react app with all of the functionality to be desired from the OG Create React App.

Quick Overview

create-react-app my-app --scripts-version frontend-scripts
cd my-app
npm start

Then open http://localhost:3000/ to see your app. When you’re ready to deploy to production, create a minified bundle with npm run build, just like usual.

What's new

Bundled packages:

Bundled configs:

Bundled eye-candy:

Breaking differences:

babel-plugin-react-css-modules

This boilerplate adds support for CSS-Modules with an scss flavor.

What this means:

  1. All imported .scss files are by default treated as local modules.
  2. Styles are applied slightly differently:
  3. Use the styleName prop for a local style
  4. Use the className prop for a global style (src/styles/global.scss)

Note: all .css files are treated as they normally would be.

Please refer to the original documentation for everything else:

About

Create React App + Redux + Router v4 frontend with modular sass styling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published