Skip to content

thomd/cra-template-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple create-react-app Template

A very simple starter template for create-react-app if you want to try something out quickly.

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

The template creates the following code structure

src/index.js:

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

createRoot(document.getElementById('root')).render(<StrictMode><App /></StrictMode>)

src/App.jsx:

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

About

The most simple template for create-react-app

Topics

Resources

Stars

Watchers

Forks