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