Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mel-miller committed Sep 12, 2022
1 parent 984c013 commit a3049c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

- Update documentation.

## [v0.1.1] - 2022-09-12

- Add `behaviors` to naming convention of component-specific js.
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,10 @@ This generator should be run from the root of your project.
yo sb-drupal:component
```

Follow the prompts and a new component will be created in the proper directory within your `src` directory.
Follow the prompts and a new directory will be created within the proper category directory in `src`. The new directory will contain the following starter files:

- `{component-name}.stories.js`
- `{component-name}.twig`
- `_{component-name}.scss`
- `{component-name}.docs.mdx`
- `{component-name}.behaviors.js` (if selected)

0 comments on commit a3049c2

Please sign in to comment.