We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Now, we define a subapplication as:
defineApplication('app1', (portalApp: PlanetPortalApplication) => { return platformBrowserDynamic([ { provide: PlanetPortalApplication, useValue: portalApp } ]) .bootstrapModule(AppModule) .then(appModule => { return appModule; }) .catch(error => { console.error(error); return null; }); });
Expect define as:
defineApplication('app1', { platformRef: platformBrowserDynamic(), AppModule: AppModule, // or bootstrap:(options) => { return platformBrowserDynamic() .bootstrapModule(AppModule) .then(appModule => { return appModule; }) } template: `<app1-root></app1-root>` Router: Router, // ... and somethings });
at present, it is not appropriate to determine how to define API, look forward to your good suggestions.
The single-spa for Angular as below: https://github.com/CanopyTax/single-spa-angular/blob/master/src/browser-lib/single-spa-angular.ts
The text was updated successfully, but these errors were encountered:
feat(global-planet): simplify subapplication's definition #58
0d911d9
feat(global-planet): simplify sub application's definition #58 (#131)
b738b26
* feat(global-planet): simplify subapplication's definition #58 * fix(global-planet): create app element by custom template * test(application-loader): add custom template test * test(application-loader): test cutom template hideApp * test: change TestBed.get to TestBed.inject
luxiaobei
No branches or pull requests
Now, we define a subapplication as:
Expect define as:
at present, it is not appropriate to determine how to define API, look forward to your good suggestions.
The single-spa for Angular as below:
https://github.com/CanopyTax/single-spa-angular/blob/master/src/browser-lib/single-spa-angular.ts
The text was updated successfully, but these errors were encountered: