bower

How can I use Bower as a package manager with Visual Studio 2013? I.e. I have a .NET project and want to add some packages uses Bower

孤街浪徒 提交于 2019-12-05 07:00:43
How can I use Bower as a package manager with Visual Studio 2013? I.e. I have a .NET project and want to add some packages uses Bower. I read Scott Hanselman's post , but it's not clear. I installed the plugins. Do I use the package manager console? Do I add bower as a package source? My project already has a package.json. If I open the VS command window and type bower, I receive the message: Command "bower" is not valid. If I am correct, the task explorer is only there to automate build tasks for you, combined with grunt. Getting NPM, Bower and Grunt are all manual steps you need to do for

How do I automate the task of compiling front-end frameworks like Twitter Bootstrap in my Node.js project?

不想你离开。 提交于 2019-12-05 05:45:35
How do I automate the task of compiling Twitter Bootstrap in my Node.js project? I'm editing the LESS files that compile into a custom build of Bootstrap for my Node.js project, so I can't just use the online customizer or the pre-compiled JavaScript/CSS distribution. How do I use something like Grunt or Bower to automate the process of building and compiling the Twitter Bootstrap front-end framework into my project from source? Is there a package manager for front-end libraries and frameworks? I'm using Grunt to compile my LESS. Here are the dependencies which you have to add to your package

Bower multiple registry URLs in .bowerrc

主宰稳场 提交于 2019-12-05 05:14:34
问题 I am looking to define more than one URL in my Bower settings to support the use of a private internal registry as well as the default Heroku registry. I have tried multiple settings that I have come across, but can't seem to get it working. There is nothing in the specs that say this is possible, but there is evidence others have gotten this to work. Can anyone point me in the right direction here? Is this possible, and if so, how is it done? 回答1: Someone at work helped me with this issue.

Visual Studio 2015 bower - not installed

时间秒杀一切 提交于 2019-12-05 05:02:12
Using a Empty Template in Visual Studio 2015, the following configuration fails to install dependencies. { "name": "ASP.NET", "private": true, "dependencies": { "bootstrap": "3.0.0", "bootstrap-touch-carousel": "0.8.0", "hammer.js": "2.0.4", "jquery": "2.1.4", "jquery-validation": "1.11.1", "jquery-validation-unobtrusive": "3.2.2" } } While the same configuration for a Web Application Sample template in ASP.NET completes successfully . My colleagues are running into the same problem. Is this a Known issue? Is there a work around? What am I missing? Error in the output window is : "C:\Program

Unable to find a suitable version for angular with bower installation error for angular-animate module

家住魔仙堡 提交于 2019-12-05 03:16:10
I am using Angular 1.2.6 . I am trying to use bower to install angular-animate and ngAnimate-animate.css . I've tried installing ( bower install --save angular-animate ), uninstalling several time and diff code on github from 1.2.16 and 1.2.17. Bower keeps wanting to install the older version of angular-animate 1.2.16 compatible with Angular 2.1.12 . All of my passing karma unit tests fail after installing angular-animate as well. I keep on getting this error. Any ideas why? bower angular-animate#* cached git://github.com/angular/bower-angular-animate.git#1.2.16 bower angular-animate#*

Cleanly remove bower from an ASP.Net 5 project

Deadly 提交于 2019-12-04 22:56:16
I'm using the ASP.Net 5 RC, but I don't want to use bower, I want to use NPM to manage all of my dependencies. I have removed bower.json , removed the bower install command from project.json and specifically removed each package using bower uninstall . However, it stil shows up in the solution explorer: Is there any way to properly remove it, or is this just the way ASP.Net 5 is supposed to be used? Thanks Turns out, the key is to remove the DnxInvisibleContent tag inside ItemGroup in the xproj file. My ItemGroup section now looks like this: <ItemGroup> <DnxInvisibleContent Include=".bowerrc"

ember-cli adding dependencies with bower

╄→尐↘猪︶ㄣ 提交于 2019-12-04 20:27:21
问题 So - I want to have a play with typeahead in an ember app. I get a cli app up and running then I run bower install typeahead.js I can see that the code has been put into bower_components. I then add the following to the brocfile: /* global require, module */ var EmberApp = require('ember-cli/lib/broccoli/ember-app'); var app = new EmberApp(); // Use `app.import` to add additional libraries to the generated // output files. // // If you need to use different assets in different // environments

Use Foundation instead of Bootstrap with SASS in a yeoman created application

久未见 提交于 2019-12-04 19:45:27
I've created an AngularJS application with yeoman. Now I want to switch the front-end framework from bootstrap to foundation. After I installed foundation with bower install foundation --save Grunt will add the following line to my index.html file. <link rel="stylesheet" href="bower_components/foundation/css/foundation.css" /> How can I force grunt to use the sass way. For the sass way the index.html is untouched (except js files) but the main.scss file nedds the following line or simliar @import "../bower_components/foundation/scss/foundation" to work with the sass. Here is the Grundfile.js

vue.js下载及安装的三种方法

浪子不回头ぞ 提交于 2019-12-04 19:29:57
vue.js下载及安装的三种方法 要下载安装vue首先得下载安装node.js和npm。下载安装好这两样以后就可以安装vue了,下面给大家介绍三种安装vue的方法。 1.直接在官网上下载 在官网上下载vue.js。并用<script>标签引入。 注意:下载时网址是 https://vuejs.org/v2/guide/installation.html 。 而不是 https://cn.vuejs.org/v2/guide/installation.html ,这个虽然也是vue的网站,但是进去之后会显示源代码,而并非下载。 2.使用bower下载 bower是一个前端包管理工具。能帮我们跟踪前端包,并且保证他们是最新(或者是你指定的特定版本)。 bower需要node,npm和git环境,在配置好这些环境之后通过npm的方式安装bower:npm install bower -g 安装成功以后输入bower -v 查看bower版本。 然后再输入bower i vue -g进行下载安装。 下载完成以后输入vue可以查看相应的一些操作。 3.直接用npm进行下载 npm install vue 可能会有些慢,耐心等待。 来源: CSDN 作者: learning_H 链接: https://blog.csdn.net/qq_42345237/article/details

Vue.js三种安装方式和npm安装步骤

谁都会走 提交于 2019-12-04 19:27:51
这几个月一直在做小程序项目,在大学自学的的Vue在公司还没怎么用过,趁着这几天公司事比较少,就从头过一遍Vue.js,接下来这篇文章主要说的是Vue安装的三种方式及基于npm安装脚手架的步骤说明!!! 安装的3种方式: 1.script 直接通过script加载CDN文件 例如: <script src = "http://webapp.com/static/webapp/shield/z/vue/vue/1.0.24/vue.min.js" 2.npm 如果项目基于npm管理依赖,则使用npm安装方式,执行命令如下: $ npm i vue --save-dev 3.bower 如果项目基于bower管理依赖,则使用bower安装方式,执行命令如下: $ npm i bower --save-dev 使用npm安装的步骤 现在的项目大都是使用npm包管理器的,所以就只举个npm安装的过程: 1.先在本地安装完 node.js window+r打开cmd窗口检测是否安装成功 node -v npm -v 2.全局安装脚手架工具( vue-cli ) npm install --global vue-cli 3. vue 项目初始化命令,若没有安装 webpack ,先安装 webpack npm install -g webpack vue init webpack 工程项目名称