learn Nodejs & Express & MongoDB
Ref: http://lonka.github.io/blog/2016/08/18/ng2/ng2-cli-quickstart/ http://www.imooc.com/article/6179 remove Nodejs del %USERPROFILE%\.npmrc rmdir /s/q "c:\Program Files\nodejs" rmdir /s/q "%APPDATA%\npm" rmdir /s/q "%APPDATA%\npm-cache" 安装 Nodejs v6.2.2(npm3) & Visual Studio Code 安装 npm install -g gulp yo webpack rimraf npm install -g typescript typings angular-cli npm install -g eslint tslint npm install -g angular-cli gulp yo webpack rimraf typescript typings eslint tslint ng new demo1 cd demo1 npm install --- Error: Cannot find module ‘ exists-sync' 这是 1.0.0-beta8 的 issue ng build ng serve (-prod 同时关闭 live Reload) -- http://localhost:4200 -- http://localhost:49152(live Reload ) ng generate component header //直接在「\app\」下加入一個 Component 名為 header ng generate service search ng build // 以下命令可以將專案發行至 「 \dist 」 中 Ref: http://lonka.github.io/blog/2016/08/18/ng2/ng2-cli-...