frontend-scripts

1.0.2 • Public • Published

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:

Readme

Keywords

none

Package Sidebar

Install

npm i frontend-scripts

Weekly Downloads

0

Version

1.0.2

License

BSD-3-Clause

Last publish

Collaborators

  • jonlu