ryanemax 9814bd8d40 feat: new chat page with aigc | 4 months ago | |
---|---|---|
.vscode | 5 months ago | |
src | 4 months ago | |
.browserslistrc | 5 months ago | |
.editorconfig | 5 months ago | |
.eslintrc.json | 5 months ago | |
.gitignore | 5 months ago | |
README.md | 5 months ago | |
angular.json | 5 months ago | |
capacitor.config.ts | 5 months ago | |
ionic.config.json | 5 months ago | |
karma.conf.js | 5 months ago | |
package-lock.json | 4 months ago | |
package.json | 4 months ago | |
tsconfig.app.json | 5 months ago | |
tsconfig.doc.json | 4 months ago | |
tsconfig.json | 5 months ago | |
tsconfig.spec.json | 5 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: '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
]
}