1.0.1 • Published 3 years ago

cra-template-cra-by-looscar v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

CRA Template By Oscar L.

This template aims to create a ready-to-start React project, with most of my common setup already in place.

Packages that are installed and configured withi this CRA template:

USAGE

yarn create react-app your-app-name --template cra-by-looscar
IMPORTANT

After the app is created an before running "start", please change the following lines into the package.json file:

  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },

By:

  "scripts": {
    "start": "craco start",
    "build": "craco build",
    "test": "craco test",
    "eject": "react-scripts eject"
  },

This enables craco to do its job, registering the project path aliases.