Skip to content

create-react-app integration instructions are out of date #121

@SydBal

Description

@SydBal

The new version of create-react-app no longer uses a .babelrc file in the root of the project, with the configuration instead existing in the package.json. This lead to confusion when spinning up a new project. The new version of CRA also has a more robust linting configuration, and will not compile without further modification.

I went ahead and created a working version of an ejected CRA, available here https://github.com/SydBal/cra-ejected-pug which demonstrates the modifications I needed to make in order to get the integration working. (spinning off of this stack overflow answer https://stackoverflow.com/questions/56513346/how-to-use-pug-templating-engine-with-reactjs/62051614#62051614)

The README should be updated to reflect the new setup.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions