Ionic在應用程序啓動前讀取應用程序啓動之前的配置文件,避免代碼頻繁編譯

1.app.module.ts 2.app.config.ts 1.新建app.config.ts文件 2.內容: import { Inject, Injectable } from '@angular/core'; import { Http } from '@angular/http'; import { Observable } from 'rxjs/Rx'; @Injectable()
相關文章
相關標籤/搜索