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
- Host: GitHub
- URL: https://github.com/thomd/cra-template-simple
- Owner: thomd
- Created: 2024-05-11T11:17:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T21:23:55.000Z (almost 2 years ago)
- Last Synced: 2025-10-04T02:24:02.912Z (8 months ago)
- Topics: create-react-app, react, template
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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>)
}
```