#author Chinese: 12期武刚鹏 English: ledary
#项目结构说明 components是做好的组件,以及一些研究的内容 showcase 测试所做的组件。 #import 说明 我们的约定
一、module的import 1、 angualr2封装的基础必要module 2、angualr2扩展需要的module 3、外部引用的module 4、自己的module 5、本module的组件,指令等
二、程序员的素质 css文件和html文件。 严禁在html文件内直接写css样式。 严禁在ts里使用document的操作。 尽量不使用 JQuery进行dom的操作。
三、研究的内容 primeNG封装库 :https://github.com/primefaces/primeng 前后端的一个bolg系统:https://git.oschina.net/fuzhutech NiceFish所有项目地址: https://git.oschina.net/mumu-osc/NiceFish-Admin
This project was generated with Angular CLI version 1.0.0.
ng serve 启动项目程序,默认为 http://localhost:4200 ng serve --port 4500 即可修改启动的端口为 4500
ng generate component component-name 创建组件命令 ng generate directive/pipe/service/class/module 创建相应的内容
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.