/launch-react-mui

Launchpad for React dashboard web apps

Primary LanguageTypeScript

Launch a modern React web dashboard app

Dashboard app

Available Scripts

In the project directory, you can run:

npm run dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

npm run lint

Run the ESLint checker and fixes any lint issues

npm run format

Run the Prettier formatter

Note: You should also set up VSCode to run formatting on save

Project structure

src/index.tsx       // the root React entrypoint
src/app.tsx         // The app wrapper
src/pages/index.tsx // The top level router
src/pages/*/*.      // The inner level routers and page components. The file structure matches the url structure.