mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge branch '269-angular-support' of github.com:storybooks/storybook into 269-angular-support
This commit is contained in:
commit
82f4ce080a
@ -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]
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user