ryanemax a237b01f9d fix: app.component impor parse | 4 months ago | |
---|---|---|
.vscode | 4 months ago | |
src | 4 months ago | |
.browserslistrc | 4 months ago | |
.editorconfig | 4 months ago | |
.eslintrc.json | 4 months ago | |
.gitignore | 4 months ago | |
README.md | 4 months ago | |
angular.json | 4 months ago | |
capacitor.config.ts | 4 months ago | |
ionic.config.json | 4 months ago | |
karma.conf.js | 4 months ago | |
package-lock.json | 4 months ago | |
package.json | 4 months ago | |
tsconfig.app.json | 4 months ago | |
tsconfig.json | 4 months ago | |
tsconfig.spec.json | 4 months 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
]
}