To confirm that no package with the same name existed I had to use the following command. I settled on react-rails-pagination as the name for my package. Getting Startedįirst order of business was to select an unique name for my package. ![]() I didn’t have one so I had to create one before I got started. Since I was going to create a npm package, I needed to have Node and npm installed on my system.Īlso I needed a npm account. Now, you want to share it with everyone by making a package so that anyone can install it ? That is exactly what I had done and now I also wanted to create a npm package and publish it and this is how I did it. So, you have created a useful, customisable, modular component in REACT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |