To install day.js, we would run: npm install dayjsĪnd NPM will automatically grab that library's code and add it to our node_modules folder ✨ ![]() With Node and NPM (or another package manager like Yarn), we can simply run a command to install whatever JavaScript library we like. Without Node and NPM, if you wanted to add a new JavaScript library to your React project (like day.js, a library used for formatting dates), you would need to manually add a set of tags and manage them yourself. When combined with a package manager like NPM (which you get at the same time you install Node), it serves as a powerful tool to easily manage libraries within your React projects. Git (install it at and create a free account at ). ![]() A good code editor (I recommend Visual Studio Code).Node / NPM (I recommend installing the "LTS" version). ![]() To build full-scale React projects on your computer, there are a few essential tools every developer needs: What do I need to install on my computer?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |