Skip to content

Commit

Permalink
Merge pull request #3369 from marob/patch-1
Browse files Browse the repository at this point in the history
FIX relative path
  • Loading branch information
ndelangen authored Apr 5, 2018
2 parents 119d16c + 071f5ad commit 3e5a389
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/src/pages/basics/guide-angular/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Now you can write some stories inside the `../src/stories/index.ts` file, like t
```js
import { storiesOf } from '@storybook/angular';
import { action } from '@storybook/addon-actions';
import { MyButtonComponent } from '../src/app/my-button/my-button.component';
import { MyButtonComponent } from '../app/my-button/my-button.component';

storiesOf('My Button', module)
.add('with some emoji', () => ({
Expand Down Expand Up @@ -121,9 +121,9 @@ If your component has dependencies on other Angular directives and modules, thes
```js
import { CommonModule } from '@angular/common';
import { storiesOf } from '@storybook/angular';
import { MyButtonComponent } from '../src/app/my-button/my-button.component';
import { MyPanelComponent } from '../src/app/my-panel/my-panel.component';
import { MyDataService } from '../src/app/my-data/my-data.service';
import { MyButtonComponent } from '../app/my-button/my-button.component';
import { MyPanelComponent } from '../app/my-panel/my-panel.component';
import { MyDataService } from '../app/my-data/my-data.service';

storiesOf('My Panel', module)
.add('Default', () => ({
Expand All @@ -142,9 +142,9 @@ If you have metadata that is common between your stories, this can configured on
```js
import { CommonModule } from '@angular/common';
import { storiesOf, moduleMetadata } from '@storybook/angular';
import { MyButtonComponent } from '../src/app/my-button/my-button.component';
import { MyPanelComponent } from '../src/app/my-panel/my-panel.component';
import { MyDataService } from '../src/app/my-data/my-data.service';
import { MyButtonComponent } from '../app/my-button/my-button.component';
import { MyPanelComponent } from '../app/my-panel/my-panel.component';
import { MyDataService } from '../app/my-data/my-data.service';

storiesOf('My Panel', module)
.addDecorator(
Expand Down

0 comments on commit 3e5a389

Please sign in to comment.