Mix of Create Next App and MUI with set of reusable components and utilities to build professional NextJS application faster.
Warning: if your are planning to use Pages Router (not App Router) then use this template
- Clone or download the repo from: https://github.com/karpolan/nextjs-mui-starter-ts
- Copy
.env.sample
file into.env
file - Replace
_TITLE_
and_DESCRIPTION_
in all files with own texts - Check and resolve all
// TODO:
directives - Add your own code :)
In the project directory, you can run:
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.
Checks the code for errors and missing things
Formats the code according to ./prettierrc.js
config
Launches the test runner in the interactive watch mode.
Builds the app for production or local development to the .next
folder.
Note: this is deprecated way to build the Next.js app!
Builds the SSG (static site generator) version of the app in the out
folder.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our [Next.js deployment documentation]https://nextjs.org/docs/pages/building-your-application/deploying) for more details.