bower

JavaScript dependency management: npm vs. bower vs. volo [closed]

坚强是说给别人听的谎言 提交于 2019-12-28 03:20:08
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . How do you compare npm , bower and volo ? All three can be used to install JavaScript dependencies for a UI project. I understand npm is more node specific. So, when to use what? npm still stands distant, but bower and volo seem to be solving exactly the same problem, although I

Using Grunt, Bower, Gulp, NPM with Visual Studio 2015 for a ASP.NET 4.5 Project

雨燕双飞 提交于 2019-12-28 03:15:16
问题 Visual Studio 2015 comes with built in support for tools like Grunt, Bower, Gulp and NPM for ASP.NET 5 projects. However when I create a ASP.NET 4.5.2 project using Visual Studio 2015 it doesn't use these tools. I'd like to use bower instead of nuget to manage client side packages. I can find information about using these tools with Visual Studio 2013 (see this question for example). But I guess the procedure is different for Visual Studio 2015 since it has built in support for these tools.

VS2015 ASP.NET5 Web项目结构浅析

不羁岁月 提交于 2019-12-27 04:15:39
前言 本文个人同步博客地址 http://aehyok.com/Blog/Detail/76.html 在安装好VS2015之后,一直想看看新版本的Web项目如何,上个周建了项目之后发现真是面目全非,微软这次更新真是太凶了。于是我就有了想简单的了解一下新建的项目结构的冲动,真是一发不可收啊,自己只是想研究个皮毛,这前前后后大概花掉了一周的时间(当然都是业余的)才大致搞明白了一点吧。在此就进行记录一下。首先来创建一个Web项目 1、打开VS2015新建ASP.NET Web应用程序 2、选择ASP.NET 5 Starter Web 3、新建项目后可以发现项目结构如下 可以发现项目结构可以分为1到6六个部分。接下来我就来简单的描述一下我对这6个部分的理解。 1、global.json   1、global.json 文件存放在“Solution Items”解决方案目录下,打开 global.json文件发现,默认有这样的配置: 下面我们来验证一下这个sources的作用。先来做一件事情,下载Asp.Net MVC源码地址为 https://github.com/aspnet/Mvc 。然后看一下下载后的文件 现在我将这些文件简单的复制到E:\projects\Mvc。然后我们回到global.json这个文件,将其中代码简单修改,修改后的内容如下 { ////"sources":

ASP.NET 5系列教程 (五):在Visual Studio 2015中使用Grunt、Bower开发Web程序

我的未来我决定 提交于 2019-12-27 04:15:14
基于Visual Studio 2015,你可以: 方便的管理前端包,如jQuery, Bootstrap, 或Angular。 自动运行任务,如LESS、JavaScript压缩、JSLint、JavaScript单元测试等。 方便的获得Web开发者生态圈的工具包。 为了实现这些场景,Visual Studio 2015已经内置了一些流行的第三方工具包: Bower :Web包管理器,Bower可以帮你安装前端包,包括JavaScript、CSS类库。对于服务器端包,请通过NuGet包管理。 Grunt and Gulp :Grunt和Gulp是基于JavaScript的运行任务。如你未用过类似功能,可以认为这是一个自动调度运行的app,ASP.NET 5工程模板使用的是Grunt运行任务。 npm (Node Package Manager). npm是一个node包管理器,最初被用于Node.js包管理。上面说的Bower、Grunt、Gulp用到了npm。 启动Visual Studio 2015,新建一个ASP.NET 5.0的工程,选择文件-> 新建工程->Visual C#->Web->ASP.NET Web应用程序: 在新建工程对话框,选择ASP.NET 5.0 Starter Web 创建一个ASP.NET MVC 6 app,工程文件结构如下: 该工程下

Visual Studio 2015 开发 ASP.NET 5

那年仲夏 提交于 2019-12-27 04:14:40
在以往微软发布或更新 Visual Studio 版本时,我们开发 ASP.NET 应用程序,带给我们的变化其实并不是很大,或者说你根本就感受不到变化,你感受到的只是下载安装了几个 G 的 Update 更新包,但这次微软发布更新的 ASP.NET,无疑是巨大的,首先我们来看下 ASP.NET 5 的新功能介绍: Web Forms、MVC 和 Web API 统一编程模型。 无编译开发体验(no-compile),修改代码文件,无需编译,只需要浏览器刷新即可。 无缝云开发支持(Cloud-ready environment configuration)。 新的 HTTP 请求管道(更快)。 内置依赖注入。 NuGet 管理一切,甚至是运行时本身。 在 IIS 中运行,或自托管(self-hosted)在进程中。 GitHub 开源,意味着你可以查看源代码,或贡献自己的代码。 ASP.NET 5 运行在 .NET Framework 或 .NET Core 的 Windows 上(关键词:.NET Core)。 .NET Core 支持并行版本(side-by-side versioning)。 ASP.NET 5 可以运行在 OS X 和 Linux(Mono 运行时)。 下面我们看下使用 VS2015 开发 ASP.NET 5 过程中,有哪些“新鲜”的东西。 ASP.NET 5

Bower installs same package different in file structure

徘徊边缘 提交于 2019-12-25 04:23:04
问题 We have a TeamCity build server running on three different buildusers with the same configuration. We have set up a angular/grunt project using yeoman Update 6 Added a bower issue https://github.com/bower/bower/issues/1709 How come bower sometimes installs for example angular-animate with the structure: bower_components/angular-animate/bower-angular-animate-1.3.13/angular-animate.js and sometimes it puts the content of the bower-angular-animate-1.3.13 in the root so the structure looks like

How to include bower_components files (CSS/JS from any framework) in END PRODUCT that i need to deploy to GIt ot Client?

雨燕双飞 提交于 2019-12-25 01:09:34
问题 I have a Gulp setup. In which i have setup bower for components. I am using these three files just to test the setup 1) Jquery 2) Owl Carousel 3) Font Awesome The problem is that when i have completed my project i want to submit the files to a repository like Git or to a client or to upload to my client's site as WordPress theme. But as like npm_modules folder i need to deleted my bower_components folder from it and then submit it. But when i will submit things like that to a server like as a

Bower install dependency to a specific subdirectory

白昼怎懂夜的黑 提交于 2019-12-24 16:27:20
问题 How do I install a dependency into a specific subdirectory using Bower? I'm working on an application built on AngularJS that requires localization. One of the libraries I'm using is looking for localization files in angular/angular_i18n. However, I'm developing with Angular 1.2 rc3 and the localization files are not part of the package so I have to install them separately. How can I bower install angular-i18n into components/angular/angular-i18n/? Help would be totally appreciated. 回答1: You

Jhipster display “this is your footer” only. ReferenceError: angular is not defined

夙愿已清 提交于 2019-12-24 12:58:27
问题 I read JHipster After creating sample entity nothing is shown in the browser .In my case bower seem fine. It have the angularjs lib (When use bower list). Why it still can't reference to angularjs? If you have any suggestion on where to investigate. Thanks. 回答1: Can you provide the output from your browser's JavaScript console? Look for a syntax error. Also you can try grunt wiredep in order to inject your bower dependencies into your source code (normally index.html). 回答2: Your index.html

Bower Error: Unable to find suitable version for angular

╄→гoц情女王★ 提交于 2019-12-24 08:17:48
问题 I'm using bower in Visual Studio 2012 and I could migrate most JS/CSS libraries from NUGET to Bower but there's a few I cannot update, getting the same error on all. I'm new to bower so there might be something I'm missing maybe? I did tried to add the resolutions to my bower.json but still give me similar errors. My bower.json { "name": "Web", "version": "0.0.0", "ignore": [ "**/.*", "node_modules", "bower_components", "test", "tests" ], "dependencies": { "angular": "~1.3.11", "bootstrap": "