npm i -S parse
npm i -S @types/parse
文件 src\app\app.component.ts
// 根组件顶部引用并初始化Parse服务
import * as Parse from "parse";
Parse.initialize("dev");
(Parse as any).serverURL = 'http://web2023.fmode.cn:9999/parse'
新增路由内容
const routes: Routes = [
// xxx
{
path: 'contact',
loadChildren: () => import('../modules/contact/contact.module').then(m => m.ContactModule)
}
// xxx
]
新增路由内容
const routes: Routes = [
{
path: 'tabs',
component: TabsPage,
children: [
// xxxxxx
{
path: 'tab2',
loadChildren: () => import('../../modules/contact/contact-list/contact-list.module').then(mod => mod.ContactListPageModule)
}
// xxxxxx
]
}