mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-25 05:03:10 +08:00
This is the first attempt at adding support for Angular based, mostly, on the vue changes. What works: - Added angular sample code to the `examples` folder - Rendering stories and creating stories out of existing angular components - For the time being, this only supports one-page angular components What's missing: - Addons support - Support for components that have a separate template Signed-off-by: Carlos Vega <clmvega@gmail.com>
10 lines
235 B
JavaScript
10 lines
235 B
JavaScript
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */
|
|
|
|
import { configure } from '@storybook/angular';
|
|
|
|
function loadStories() {
|
|
require('../src/stories');
|
|
}
|
|
|
|
configure(loadStories, module);
|