图形NPM界面 [英] Graphical NPM interface

查看:429
本文介绍了图形NPM界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到Node.js项目只有一个可视化的NPM管理用户界面。为什么这不适用于ASP.NET和ASP.NET Core项目?

解决方案

嗨kuhnboy,


欢迎来到MSDN论坛。


请参阅您的描述,您的问题更多与ASP.NET和ASP有关.NET核心开发。
由于我们的论坛是讨论VS IDE,请转到以下相应的论坛寻求更专业的支持。很抱歉给您带来不便,感谢您的理解。


ASP.NET论坛:
https://forums.asp.net/


ASP.NET Core论坛:
https://forums.asp.net/1255.aspx/1?ASP+NET+Core


,你可以直接点击项目名称和添加新项目... -Web,选择'NPM配置文件'进行配置。有关详细信息,请查看:
https://webtooling.visualstudio.com/package-managers/npm/


如果你想使用npm gui,你可以通过以下两种方法添加它:


  1. 通过以下命令安装npm gui:npm install npm-gui,请查看此参考:
    https://www.npmjs.com/package/npm-gui
  2. 手动添加和配置npm gui如下例

    • 右键单击项目 - >添加新项目 - >选择npm Contiguaration File
    • 在package.json中添加npm-gui包,就像:


{


<跨度>&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
" version"
" 1.0.0"


<跨度>&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
" name"
" asp.net"


<跨度>&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;
" private"
true


 
            
" devDependencies"
{


<跨度>&NBSP;&NBSP;
<跨度>&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;  
  " npm-gui"
" 0.3.1"


<跨度>&NBSP;
<跨度>&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; 
   " gulp"
" 3.9.1"


<跨度>&NBSP;&NBSP;&NBSP;
<跨度>&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;   
" gulp-less"
" 3.3.0"


              
}


}




  • 转到:
      \ src \ xxxx \ node_modules \.bin
  • 点击npm-gui.cmd
  • 它打开http:// localhost:1337 /#/ dependencies






祝你好运,


萨拉


I noticed that there is only a visual NPM management user interface for Node.js projects. Why is this not available for ASP.NET and ASP.NET Core projects?

解决方案

Hi kuhnboy,

Welcome to the MSDN forum.

Refer to your description and your issue is more relates to the ASP.NET and ASP.NET Core development. Since our forum is to discuss the VS IDE and please redirect to the following appropriate forums to seek for a more professional support. Sorry for this inconvenience and thank you for your understanding.

ASP.NET Forum: https://forums.asp.net/

ASP.NET Core Forum: https://forums.asp.net/1255.aspx/1?ASP+NET+Core

Meanwhile, I tried to discuss this issue with our colleagues who are responsible for ASP.NET forum. They said if you just want to use the npm management, you can directly click the project name and Add-New Items…-Web, choose ‘NPM configuration file’ to configure. For more detail information, please have a look at this: https://webtooling.visualstudio.com/package-managers/npm/

If you want to use the npm gui, you can add it through the following two methods:

  1. Install the npm gui through the command: npm install npm-gui, please check this reference: https://www.npmjs.com/package/npm-gui
  2. Manually add and configure the npm gui as below example
    • right-click project -> add new item -> select npm Contiguaration File
    • add npm-gui package at package.json just like :

{

                "version": "1.0.0",

                "name": "asp.net",

                "private": true,

              "devDependencies": {

                   "npm-gui": "0.3.1",

                   "gulp": "3.9.1",

                   "gulp-less": "3.3.0"

               }

}

  • Go to:  \src\xxxx\node_modules\.bin
  • click npm-gui.cmd
  • it opens http://localhost:1337/#/dependencies

Best regards,

Sara


这篇关于图形NPM界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆