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