Merge branch '269-angular-support' of github.com:storybooks/storybook into 269-angular-support

This commit is contained in:
Norbert de Langen 2017-09-12 23:36:58 +02:00
commit 82f4ce080a

View File

@ -3,7 +3,8 @@ import {
NgModule,
Component,
NgModuleRef,
ApplicationRef
ApplicationRef,
CUSTOM_ELEMENTS_SCHEMA
} from "@angular/core";
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
import { BrowserModule } from "@angular/platform-browser";
@ -54,6 +55,7 @@ const getModule = (declarations, entryComponents, bootstrap, data) => {
imports: [BrowserModule],
providers: [{ provide: STORY, useValue: Object.assign({}, data) }],
entryComponents: [...entryComponents],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
bootstrap: [...bootstrap]
});