1.0.2 • Published 7 years ago

frontend-scripts v1.0.2

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
7 years ago

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: 1. Use the styleName prop for a local style 2. 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: