是否可以在 nuget 包管理器控制台的帮助下安装 angular-ui-tinymce?

Is it possible to install angular-ui-tinymce with the help of nuget package manager console?

我在 nuget 包管理器控制台的帮助下安装 angular-ui-tinymce 时遇到问题。 这是我收到的消息:

PM> $ bower install angular-ui-tinymce --save-dev
$ : The term '$' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ $ bower install angular-ui-tinymce --save-dev
+ ~
    + CategoryInfo          : ObjectNotFound: ($:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

非常感谢所有帮助

您好 阿提拉

Bower 本身就是一个包管理器 - 为什么要同时使用 Bower 和 Nuget 来安装包?假设你已经正确安装了 Bower,你可以安装 angular-ui-tinymce with Bower:

bower install angular-ui-tinymce --save-dev 

...不确定您为什么要在命令前加上 $ 但它的语法不正确,这就是您上面的错误告诉您的内容。

代码中的 PM> 提示表明您在 NuGet 包管理器中 - 如果您想使用 Bower 获取包,则无需在其中。

查看这篇关于 Bower 与 NuGet 的文章,它可能有助于澄清您的困惑...

http://simplyaprogrammer.com/2014/06/why-bower-is-better-than-nuget.html