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

https://github.com/thomd/cra-template-simple

The most simple template for create-react-app
https://github.com/thomd/cra-template-simple

create-react-app react template

Last synced: 4 months ago
JSON representation

The most simple template for create-react-app

Awesome Lists containing this project

README

          

# Simple create-react-app Template

A very simple starter template for [create-react-app](https://create-react-app.dev).

Use this template if you want to try something out quickly and profit from the `create-react-app` ecosystem.

## Usage

```sh
npx create-react-app myapp --template @thomd/cra-template-simple
cd myapp
npm start
```

The template creates the following code structure

`src/index.js`:

```js
import React, { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'

createRoot(document.getElementById('root')).render()
```

`src/App.jsx`:

```js
export default function App() {
return (<>React>)
}
```