Giuliano1993 / make-js-component

Create your js components with ease! Stramilne your development process
MIT License
39 stars 19 forks source link

Integration of third-party UI components in make-js-components #113

Open Priyanshudotdev opened 1 month ago

Priyanshudotdev commented 1 month ago

Description :- I’m always frustrated when I need to install multiple UI libraries just to use a few components from each. This process is time-consuming and can lead to dependency bloat in my project.

Solution that I like :- A feature that allows developers to import components from any UI library, such as Shadcn,aceternity UI,next UI ,etc ... directly through the make-js-components command. This feature should handle the installation of necessary dependencies automatically, streamlining the setup process and reducing the need for manual commands.

Alternatives :- An alternative solution could involve manually installing each UI library as needed, but this approach is inefficient and have much manual work.

Additional context :- Implementing this feature would significantly enhance the usability of make-js-components by simplifying the integration of third-party UI components. It would save developers time and effort, reduce the risk of dependency conflicts, and help maintain a cleaner project structure.

Giuliano1993 commented 1 month ago

Here I am @Priyanshudotdev , sorry it took me some time to answer! Anyway it sounds really interesting to me as an idea! It could really be worth a try.

In my head when you select a framework (react in the first case you proposed) you can choose wether create an empty component or import it from a UI library; at that point one can pick the library and the component to import. If the library is already installed then the component is installed, otherwise it takes the necessary steps to do so. and then the component is installed.

How does this sounds to you?