Answer the question
In order to leave comments, you need to log in
How to compile a React component?
I wrote an application in the React-create-app generator. Now I want to upload one of the components to GitHub and install it through dependencies in node_modules. How to do it right? Do you need some kind of precompilation?
upd.
Let's say I have a SPA and it has a slider component. I want to pull this slider from this project, add its dependencies, etc. to package.json and upload it to github. And in the original project, already give a dependency to the github (after all, you can not give a version there, but just give a link?). In short, what is the algorithm of actions?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question