04 2018 档案
摘要:一. angular-cli.json常见配置{ "project": { "name": "ng-admin", //项目名称 "ejected": false // 标记该应用是否已经执行过eject命令把webpack配置释放出来 }, "apps": [ { "root": "src", // 源码根目录 "outDir": "dist", //...
阅读全文
摘要:ng基础命令npm install –g @angular/cli npm install -g @angular/cli@latestng serve –prot –aot 启动项目并压缩项目文件ng build 项目打包命令,也可以加上–prot –aot 新建项目ng new 项目名称//示例ng new angular-hello-word它将运行一段时间,进行npm依赖的安装,安装成功后...
阅读全文

浙公网安备 33010602011771号