Angular
ygznx
这个作者很懒,什么都没留下…
展开
-
如何正确引用Http
直接import HttpModuleimport {HttpModule} from '@angular/http';@NgModule({ imports: [HttpModule], declarations: [ PostComponent ], providers: [ Actions, MyService ], boots原创 2017-10-16 11:08:19 · 380 阅读 · 0 评论 -
WebStorm设置服务器-局域网内其他设备访问(移动端手机访问测试等)
http://blog.csdn.net/u014702332/article/details/70256153转载 2017-10-16 12:25:46 · 643 阅读 · 0 评论 -
如何调试Angular typescript
How to debug Angular 2 with WebStormWebStorm is my favorite choice when it comes to develop web applications especially with Angular 2. Most of the time I have a fullscreen WebStorm on my primary转载 2017-10-16 13:36:07 · 1543 阅读 · 0 评论 -
如何将Angular localhost:4200 改为IP
ust specify the IP in --host option like ng serve --host 192.16.1.1Now you can visit http://192.16.1.1:4200 in your browser and it will work下面是一个例子:ng serve --host 192.168.1.102 --port原创 2017-10-16 14:08:53 · 7163 阅读 · 1 评论