Skip to content
Projets

netlify-templates/ts-mui-nextjs-starter

Voir sur GitHub

À propos

A simple starting point for a Netlify Create project that includes support for MUI

Développement web et applicatif

Comment ces chiffres sont mesurés

What you can do

  • Flexible Pages: Simple and flexible page model based on markdown files
  • Basic Components: A few basic components including HeroSection and CardsSection
  • Layout Elements: Header and footer elements automatically added to pages
  • TypeScript Support: Components and content are type-safe (see types directory for definitions)

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Next.js + TypeScript + MUI Starter

Next.js + TS + MUI Starter

A minimal starting point for Next.js projects. Built with Next.js, TypeScript, and MUI. Uses markdown files with YAML frontmatter for content management.

⚡ View demo: ts-mui-starter.netlify.app

Deploying to Netlify

If you click "Deploy to Netlify" button, it will create a new repo for you that looks exactly like this one, and sets that repo up immediately for deployment on Netlify.

Deploy to Netlify

Features

This is a simple starting point that demonstrates the use of a component library (MUI) with Next.js and TypeScript:

  • Flexible Pages: Simple and flexible page model based on markdown files
  • Basic Components: A few basic components including HeroSection and CardsSection
  • Layout Elements: Header and footer elements automatically added to pages
  • TypeScript Support: Components and content are type-safe (see types directory for definitions)
  • MUI Integration: Full Material-UI component library with custom theming
  • Static Site Generation: Fast page loads with Next.js SSG

Tech Stack

  • Next.js 16 - React framework with SSG support
  • React 19 - Latest React with the new JSX transform
  • TypeScript - Type-safe development
  • MUI v6 - Material Design component library
  • Emotion - CSS-in-JS styling
  • Markdown - Content management with frontmatter

Getting Started

Clone this repository and install dependencies:

npm install

Run the Next.js development server:

npm run dev

Open http://localhost:3000 in your browser to see the result.

Project Structure

├── content/
│   ├── data/          # Site configuration (JSON)
│   └── pages/         # Page content (Markdown with frontmatter)
├── public/            # Static assets
├── src/
│   ├── components/
│   │   ├── atoms/     # Basic UI components
│   │   └── sections/  # Page sections (Header, Footer, HeroSection, etc.)
│   ├── pages/         # Next.js pages
│   ├── types/         # TypeScript type definitions
│   └── utils/         # Utility functions and theme
└── package.json

Adding Content

Create a New Page

Add a markdown file to content/pages/:

---
title: My New Page
type: Page
sections:
  - type: HeroSection
    title: Welcome
    subtitle: This is my new page
    text: Add your content here
---

Edit Site Configuration

Modify content/data/config.json to update the header, footer, and site settings.

Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm start - Start production server
  • npm run prettier - Format code with Prettier

License

MIT

Explorer des projets similaires

Chargement…