简体   繁体   中英

Adding library to node js project developed using Visual studio IDE

I have started to learn node js. I am using Visual Studio 2015 as IDE for working on Node JS. What are the steps to include a node js library to the node js project on Visual studio 2015 IDE? Normally I install libraries using

npm install library-name

I searched for the node js console window but it is not plugged in to the IDE.

下载文件,然后仅将* .js文件复制/粘贴到您的项目中,然后在设计页中引用它。* .aspx(对于ASP.NET)或* .cshtml(对于ASP.NET MVC)说

  <script src="~/filename.js"></script>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM