Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/baronsindo/create-react-app-offline
- Owner: Baronsindo
- Created: 2020-05-06T04:52:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-21T23:06:49.000Z (almost 2 years ago)
- Last Synced: 2024-11-20T15:58:51.796Z (about 2 months ago)
- Language: JavaScript
- Size: 46.4 MB
- Stars: 46
- Watchers: 3
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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.