Skip to content

Commit

Permalink
Step 22.2: Wrapped Angular 2 bootstrap with Meteor startup
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 14, 2016
1 parent 357e995 commit d48aeb8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/main.ts
Expand Up @@ -6,5 +6,7 @@ import { AppModule } from './imports/app/app.module';

import '../both/methods/parties.methods';

const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule);
Meteor.startup(() => {
const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule);
});

0 comments on commit d48aeb8

Please sign in to comment.