#安装命令
1.npm install  
2.npm i yarn  
2.yarn start  

#快捷命令  
Component	ng g component my-new-component  

Directive	ng g directive my-new-directive  

Pipe	ng g pipe my-new-pipe  

Service	ng g service my-new-service  

Class	ng g class my-new-class  

Interface	ng g interface my-new-interface  

Enum	ng g enum my-new-enum  

Module	ng g module my-module  


#上传文件到服务器
  http://10.10.38.99:4567/#/app/login   党校网站地址  
  服务器地址 10.10.38.99 22 root/password
  前端代码地址 /home/cesgroup/dangxiao/nginx/html 

打包： webpack:prod

关闭了自动更新：
```
package.json
{
  - "webpack:dev": "yarn run webpack-dev-server -- --config webpack/webpack.dev.js --progress --inline --hot --profile --port=9060 --watch-content-base"
  + "webpack:dev": "yarn run webpack-dev-server -- --config webpack/webpack.dev.js --progress --profile --port=9060 --watch-content-base"
}

webpack.dev
{
  devServer: {
    + hot: false,
    + inline: false
  },
  plugins: {
    // new webpack.NoEmitOnErrorsPlugin(),
    // new webpack.NamedModulesPlugin(),
  }
}
```
