@thomd/cra-template-simple
v1.0.0
Published
simple starter template for create-react-app
Downloads
3
Readme
Simple create-react-app Template
A very simple starter template for create-react-app.
Use this template if you want to try something out quickly and profit from the create-react-app
ecosystem.
Usage
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</>)
}