项目作者: flyher

项目描述 :
Life cycle demo base on AngularJS, Typescript, Package by Webpack.
高级语言: TypeScript
项目地址: git://github.com/flyher/life-cycle-angularjs.git
创建时间: 2018-02-22T06:35:52Z
项目社区:https://github.com/flyher/life-cycle-angularjs

开源协议:GNU General Public License v3.0

下载


life-cycle-angularjs

Build Status
Release Version
Issues
Software License

Life cycle demo base on AngularJS, Typescript, Package by Webpack.

You can visit this website here:

Mirror 1

Mirror 2

博文demo:流行前端框架的生命周期

todo list

  • [x] base on AngularJS component

  • [x] support Typescript

  • [x] package by Webpack

  • [x] support router

install

  1. npm install

release

the code will release in ./dist/

  1. npm run release

pre

the code will release in ./dist/ with sourceMap

  1. npm run pre

Press F12 to debug

Q&A

Failed to instantiate module ngAnimate

resolve templateUrl by angularjs-template-loader

出现<about class="ng-scope ng-isolate-scope">./about.html</about>的问题:
  1. `templateUrl`错误处理成`template`

life-cycle-hooks

Tools

Build By Visual Studio Code

License

Code in life-cycle-angularjs project is licensed under the GPL