|
|
1 year ago | |
|---|---|---|
| .vscode | 1 year ago | |
| src | 1 year ago | |
| .browserslistrc | 1 year ago | |
| .editorconfig | 1 year ago | |
| .eslintrc.json | 1 year ago | |
| .gitignore | 1 year ago | |
| README.md | 1 year ago | |
| angular.json | 1 year ago | |
| capacitor.config.ts | 1 year ago | |
| ionic.config.json | 1 year ago | |
| karma.conf.js | 1 year ago | |
| package-lock.json | 1 year ago | |
| package.json | 1 year ago | |
| tsconfig.app.json | 1 year ago | |
| tsconfig.json | 1 year ago | |
| tsconfig.spec.json | 1 year ago |
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: 'user',
loadChildren: () => import('../modules/user/user.module').then(m => m.UserModule)
}
// xxx
]
新增路由内容
const routes: Routes = [
{
path: 'tabs',
component: TabsPage,
children: [
// xxxxxx
{
path: 'tab3',
loadChildren: () => import('../../modules/user/mine/mine.module').then(mod => mod.MinePageModule)
}
// xxxxxx
]
}