npm run dev
npm run lint
npm run format
npm test
npm run build
For internationalization we use : https://next-intl-docs.vercel.app/docs/getting-started/app-router/with-i18n-routing#getting-started
- translations are in messages/[lang].json
- i18n.ts is the i18n configuration
- middleware.ts is the next-intl middleware
Starter project for Next.js with App Router + Material UI + Next using TypeScript
Mix of Create Next App and MUI with set of reusable components and utilities to build professional NextJS application faster.
- 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.
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.