Created
April 30, 2018 21:04
-
-
Save sulco/85a35fbd9dff4a0890c3f2187350db5a to your computer and use it in GitHub Desktop.
Bootstrapping Angular module, with custom-elements shim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'zone.js/dist/zone'; | |
import '@webcomponents/custom-elements/src/native-shim'; | |
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | |
import { ButtonModule } from './button.module'; | |
platformBrowserDynamic().bootstrapModule(ButtonModule); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment