npm install brewbox
Create your stories describing them in files named *.stories.ts like so:
// button.stories.ts
import { ButtonComponent } from './button.component';
export default {
title: 'Components/Button',
component: ButtonComponent,
};
export const Primary = args => ({
props: args,
});
Primary.args = {
text: 'Button',
};
Usage: brewbox [command]
Commands:
serve [options] Builds and serves in watch mode
build [options] Builds into an output directory
version Outputs current version
help Lists available commands
Usage: brewbox serve [options]
Options:
--project Specifies particular project in Angular workspace directory
--verbose Outputs additional information during execution
Usage: brewbox build [options]
Options:
--project Specifies particular project in Angular workspace directory
--verbose Outputs additional information during execution