angular4.0命令行汇总
查看ng命令行
ng help
创建项目
ng new projectName
ng new projectName --routing【--routing表示创建带路由的项目】
配置依赖
npm install
启动服务器
ng serve
npm start
发布项目
npm run build
创建组件
ng g component componentName
创建服务
ng g service serviceName
创建管道
ng g pipe pipeName