Skip to content

Commit

Permalink
Adding listen path for the app/components folder (#1222)
Browse files Browse the repository at this point in the history
* Adding listen path for the app/components folder

* Create little-spies-nail.md
  • Loading branch information
jonrohan authored Jul 25, 2022
1 parent e3de2bb commit d48f6c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-spies-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Adding listen path for the app/components folder
1 change: 1 addition & 0 deletions lookbook/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
config.assets.quiet = true

config.view_component.preview_paths << Rails.root.join("../test/components/previews")
config.lookbook.listen_paths << Rails.root.join("../app/components")

# Raises error for missing translations.
# config.i18n.raise_on_missing_translations = true
Expand Down

0 comments on commit d48f6c4

Please sign in to comment.