zoukankan      html  css  js  c++  java
  • 构建angular项目

    1. 安装yo与gulp bower

      $ npm install -g yo

      $ npm install -g gulp bower

    2. 快速创建

        $ npm install -g generator-angular-gulp-bower

        $ yo angular-gulp-bower  

    3. 自定义

       新建package.json文件后 

        yo angular-gulp-bower

      更新glup插件:npm install --save-dev

      设置bower全局变量:

      出现 Bower : ENOGIT git is not installed or not in the PATH错误,则需要配置你的Git到path,具体如下:

      假如你的git安装目录是”C:Program Files (x86)Git”,在path中( 系统属性中)加入git的bin和cmd目录,

      如C:Program Files (x86)Gitin;C:Program Files (x86)Gitcmd

  • 相关阅读:
    给出字符串
    Closest
    最短路计数(spfa)
    Cleaning Shifts
    Mr. Young's Picture Permutations
    Georgia and Bob
    GCD
    Cutting Game
    SP4191 MSKYCODE
    [CQOI2013]新Nim游戏
  • 原文地址:https://www.cnblogs.com/yifengBlog/p/5181953.html
Copyright © 2011-2022 走看看