Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/baronsindo/create-react-app-offline

Create React apps with no build configuration, offline.
https://github.com/baronsindo/create-react-app-offline

Last synced: about 1 month ago
JSON representation

Create React apps with no build configuration, offline.

Awesome Lists containing this project

README

        

## Create React App (Offline version - CRAO)
Create React apps with no build configuration offline every time.

### Installing the CLI
first time you need to install the CRAO CLI via this command, then after you'il be able to create React apps offline.
```sh
npm install -g create-react-app-offline
```

### Usage
Very simple like drinking water
```sh
crao -n
```
for example :
```sh
crao -n my-app
```

It will create a directory called `my-app` inside the current folder.

Inside that directory, it will generate the initial project structure and install the transitive dependencies:

```
my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
└── src
├── App.css
├── App.js
├── App.test.js
├── index.css
├── index.js
├── logo.svg
└── serviceWorker.js
└── setupTests.js
```

No configuration or complicated folder structures, only the files you need to build your app.

Once the installation is done, you can open your project folder:

```sh
cd my-app
```

Inside the newly created project, you can run some built-in commands:

### `npm start` or `yarn start`

Enjoy it.