Create CLI npx create-mui-app
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Summary 💡
Today, to create a new project, you have to go with one of those:
- start from our example folder in GitHub
- follow a step-by-step flow (well not just yet, but a WIP #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
- Vite
npm create vite@latest
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the related issues #39587 and #41173, then compare the project-creation flows from create-next-app and Vite mentioned in the issue. Define the CLI scope and acceptance criteria for selecting TypeScript or JavaScript, the framework, MUI abstraction and theme, styling approach, Toolpad, and importing templates or blocks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nextjs, react, tailwindcss, typescript, vite
- Domain
- cli, developer-experience, frontend, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100