Skip to content

Create CLI to use examples projects #39587

@oliviertassinari

Description

@oliviertassinari

Summary 💡

In the examples we have:

Screenshot 2023-10-24 at 12 42 42

https://github.com/mui/material-ui/tree/c82e4a8985a7ec38dd9b829a1aa7f84756b164df/examples/base-ui-vite-tailwind-ts#how-to-use

we copy the whole repository, it's slow. I did a test from a location that doesn't have a great internet connection, it took 437s to create vs. Next.js npx create-next-app@latest which took 90s. It's x4 faster. maybe could create a CLI for something that doesn't download the whole repository.


Toolpad has something similar npx create-toolpad-app@latest but different, it's a CLI that allows you to create you first project with a suite of questions to answer to. It's equivalent to Next.js npx create-next-app@latest.

Examples 🌈

Motivation 🔦

Speed

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: new featureExpand the scope of the product to solve a new problem.waiting for 👍Waiting for upvotes. Open for community feedback and needs more interest to be worked on.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions