Ionic 3 - chrome 中的调试点不正确
Ionic 3 - debugging is not correct point in chrome
使用离子框架 (v3)。由于我在浏览器调试的应用程序中使用了延迟加载模块,因此映射不正确。
调试点去别的地方了。
应用程序模块:
@NgModule({
declarations: [
MyApp,
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
]
...
})
页面组件(使用ionicpage):
import { IonicPage } from "ionic-angular";
@IonicPage()
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
来自
import {
FabContainer,
AlertController,
LoadingController,
ModalController,
Platform,
NavController,
Keyboard,
ToastController,
IonicPage,
Content
} from "ionic-angular";
至
import { FabContainer, AlertController, LoadingController, ModalController, Platform, NavController, Keyboard, ToastController, IonicPage, Content } from "ionic-angular";
从 ionic 论坛获得解决方案 link
使用离子框架 (v3)。由于我在浏览器调试的应用程序中使用了延迟加载模块,因此映射不正确。
调试点去别的地方了。
应用程序模块:
@NgModule({
declarations: [
MyApp,
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
]
...
})
页面组件(使用ionicpage):
import { IonicPage } from "ionic-angular";
@IonicPage()
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
来自
import {
FabContainer,
AlertController,
LoadingController,
ModalController,
Platform,
NavController,
Keyboard,
ToastController,
IonicPage,
Content
} from "ionic-angular";
至
import { FabContainer, AlertController, LoadingController, ModalController, Platform, NavController, Keyboard, ToastController, IonicPage, Content } from "ionic-angular";
从 ionic 论坛获得解决方案 link