samuelsycamore / dev-blog-base-next-app-router-tailwind-ts

Home Page:https://dev-blog-base-next-app-router-tailwind-ts.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base UI - Next.js App Router with Tailwind CSS example in TypeScript

This is a Next.js project bootstrapped using create-next-app with Base UI installed and Tailwind CSS for styles.

How to use

Download the example or clone the repo:

curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/base-next-app-router-tailwind-ts
cd base-next-app-router-tailwind-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 app/page.tsx. The page auto-updates as you edit the file.

This example uses next/font/google to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about this example:

About

https://dev-blog-base-next-app-router-tailwind-ts.vercel.app


Languages

Language:TypeScript 91.5%Language:CSS 5.7%Language:JavaScript 2.7%