Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use and extend view components in Solidus Admin #5099

Merged
merged 13 commits into from
Jun 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add component paths to the admin's tailwind config
waiting-for-dev committed Jun 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit aa170443087263d0fa5d026b5e863ab6c01893ab
4 changes: 3 additions & 1 deletion admin/lib/solidus_admin/configuration.rb
Original file line number Diff line number Diff line change
@@ -22,10 +22,12 @@ class Configuration < Spree::Preferences::Configuration
SolidusAdmin::Engine.root.join("app", "helpers", "**", "*.rb"),
SolidusAdmin::Engine.root.join("app", "assets", "javascripts", "**", "*.js"),
SolidusAdmin::Engine.root.join("app", "views", "**", "*.{erb,haml,html,slim}"),
SolidusAdmin::Engine.root.join("app", "components", "**", "*.rb"),
Rails.root.join("public", "solidus_admin", "*.html"),
Rails.root.join("app", "helpers", "solidus_admin", "**", "*.rb"),
Rails.root.join("app", "assets", "javascripts", "solidus_admin", "**", "*.js"),
Rails.root.join("app", "views", "solidus_admin", "**", "*.{erb,haml,html,slim}")
Rails.root.join("app", "views", "solidus_admin", "**", "*.{erb,haml,html,slim}"),
Rails.root.join("app", "components", "solidus_admin", "**", "*.rb")
]

# List of Tailwind CSS files to be combined into the final stylesheet.