2.0.0 • Published 2 years ago

cra-template-please v2.0.0

Weekly downloads
47
License
UNLICENSED
Repository
-
Last release
2 years ago

cra-template-please

My personal template for Create React App.

Read about the features of this template here.

This template is useful for creating:

✓ React web apps
✓ Non-React web apps
✓ Web-based experiments
✓ Testing grounds for new libraries

Usage

This assumes I have already configured my computer.

To scaffold an app, use:

cra {name_of_app}

To create an app in the current directory, use:

cra .

New App Checklist

When building an application, there are a couple of things I need to do after installing the template.

  • Search for the string ~~TEMPLATE~~ and change those values.
  • Add a favicon. I typically use this app.

Configuring My Computer

Create an alias for cra:

alias cra="npx create-react-app --template cra-template-please"

Developing

I can test changes to this template without publishing using this command:

npx create-react-app --template file:./cra-template-please my-app

Learn More

For more information, please refer to:

Notes

  • Everything is a dependency in template.json because Create React App templates do not support devDependencies as of July 2020.
2.0.0

2 years ago

1.2.0

2 years ago

1.1.0

3 years ago

1.0.0

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago