Skip to content

Create CLI npx create-mui-app #39588

Open
@oliviertassinari

Description

@oliviertassinari

Summary 💡

Today, to create a new project, you have to go with one of those:

  1. start from our example folder in GitHub
  2. follow a step-by-step flow (well not just yet, but a WIP [material-ui][docs] Redo integration docs pages #40062)

There is a space to create a CLI specific to MUI (the whole suite of products) that

  • A. would allow developers to quickly pick the stack they want:

    • TypeScript vs. JavaScript
    • Next.js vs. Vite
    • which abstraction level do you want, Base UI (you own the styles) vs. Material UI (you don't own the styles).
    • which theme do you want, Material Design or Joy Design
    • do you want Tailwind CSS, or raw CSS or MUI System
    • do you want Toolpad?
  • B. would allow to easily import a template/block to an existing project.

Examples 🌈

  • Next.js npx create-next-app@latest
Screenshot 2023-10-24 at 12 51 11
  • Vite npm create vite@latest
Screenshot 2023-10-24 at 12 50 48

Motivation 🔦

Achieving this with examples would lead to an explosion of possible combinations, it would be a LOT more examples to maintain.

Related

#39587, #41173

Metadata

Metadata

Assignees

No one assigned

    Labels

    dxRelated to developers' experiencenew featureNew feature or requestwaiting for 👍Waiting for upvotes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions