This is a Next.js project bootstrapped using create-next-app
with Material UI installed.
Clone the repo:
git clone https://github.com/jsphkhan/material-next-app-router-ts.git
cd material-next-app-router-ts
Install dependencies and run:
# npm
npm install
npm run dev
# yarn
yarn
yarn dev
# pnpm
pnpm install
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying src/app/page.tsx
. The page auto-updates as you edit the file.
This example uses next/font/google
to automatically optimize and load Roboto, a custom Google Font.
This example also shows RTL support with SSR using stylis rtl plugins