示例#1
0
 beforeAll(() => {
   singleSpa.registerApplication('./happy-unload.app.js', () => import('./happy-unload.app.js'), location => location.hash === activeHash);
   singleSpa.start();
 });
示例#2
0
 beforeAll(() => {
   singleSpa.start();
 })
 beforeAll(() => {
   singleSpa.registerApplication('russell', dummyApp, () => window.location.hash.indexOf("#/russell") === 0);
   singleSpa.start();
 });
 beforeAll(() => {
   singleSpa.registerApplication('./multiple-lifecycle-functions.app.js', () => import('./multiple-lifecycle-functions.app.js'), location => location.hash === activeHash);
   singleSpa.start();
 });
示例#5
0
 beforeAll(() => {
   singleSpa.registerApplication('./unmount-rejects.app.js', () => import('./unmount-rejects.app.js'), location => location.hash === activeHash);
   singleSpa.start();
 });