Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    generator-angular2-templatepublic

    Angular2 Template 脚手架

    此模块作为Angular2的脚手架,可以使用此模块快速搭建基于node.js的Angular2项目
    

    使用说明

    一、手工加载

    Clone
    git clone git@github.com:angular2-explore/angular2-template.git
    mkdir {your project dir}
    cp angular2-template/package.json {your project dir}
    cp angular2-template/tsconfig.json {your project dir}
    cp angular2-template/gulpfile.js {your project dir}
    cp -r angular2-template/src {your project dir}
    
    Vim
    # 修改package.json
    1、修改为自己项目的名称: name
    2、修改资源路径: repository、bugs、homepage
    3、修改其他相关的内容
    
    Install
    $ cd {your project dir}
    $ npm install
    
    Run
    $ gulp
    $ gulp dev
    

    二、Yeoman Generator Install

    Install
    $ yo
    ? 'Allo ! What would you like to do? Install a generator
    ? Search npm for generators: angular2-template
    ? Here's what I found. Official generator → ෴
      Install one? angular2-template Yeoman Generator Angular2 Template
    

    install

    npm i generator-angular2-template

    Downloadsweekly downloads

    2

    version

    0.0.2

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar