Created
December 3, 2017 18:13
-
-
Save sebastienlevert/cf8ebf1a334f3deee95c4fdd2154a7e2 to your computer and use it in GitHub Desktop.
This file contains 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
//web components ES5 shim | |
import './../../../elements/wc-shim.js'; | |
import { registerAsCustomElements } from '@angular/elements'; | |
import { platformBrowser } from '@angular/platform-browser'; | |
import { ListRest, ListRestModule } from './list-rest'; | |
import { ListRestModuleNgFactory } from './list-rest.ngfactory'; | |
registerAsCustomElements( | |
[ ListRest ], | |
() => platformBrowser().bootstrapModuleFactory(ListRestModuleNgFactory) | |
).catch(err => console.log(err)); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment