• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

joshuacaron/generator-angular2-gulp-webpack: (DEPRECATED)

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

joshuacaron/generator-angular2-gulp-webpack

开源软件地址(OpenSource Url):

https://github.com/joshuacaron/generator-angular2-gulp-webpack

开源编程语言(OpenSource Language):

JavaScript 64.5%

开源软件介绍(OpenSource Introduction):

generator-angular2-gulp-webpack

NOTE: This project is deprecated and is not longer maintained. Following the release of Angular2 it is largely unnecessary and probably no longer works with later releases.

This is a simple Yeoman generator to create Angular2 projects using Gulp. This generator uses webpack to bundle up all the files resulting in a faster website with fewer HTTP requests. However this makes development tedious since builds are not that fast, so by default development is done using System.js and compiling Typescript in the browser. This lets you rapidly prototype and iterate while still minimizing the number of files and making it efficient to serve the completed app in production.

Run npm install -g generator-angular2-gulp-webpack to install. You might need to use sudo on Linux. Once the generator is installed create a directory where you want your project to live and change to it. Then just run yo angular2-gulp-webpack to generate the project.

To serve the app in development run npm start and go to http://localhost:3000 to view your app. To compile the app for production run npm run build or gulp build and the production ready app is in the dist folder.

Inspired by ng2-webpack-play.

License

MIT




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap