You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm opening this issue for a proposal about themes.
We plan for a project to make a full custom theme/template for administrate. This seems not a problem since administrate views seems easily overwritable.
But the fact that we will still install gem that install jquery, momentjs, sass, etc, for nothing (since we plan to use webpacker and other libraries) is a bit noisy.
I was thinking about a separate gem for the theme part that contains stylesheets and javascripts. And so update the README to tell user to install the two gem by default.
administrate + administrate_theme
Or administrate-core + administrate (that contains theme and depends on administrate-core)
What do you think about?
The text was updated successfully, but these errors were encountered:
There's been some ongoing discussion around how we handle Sprockets vs. Webpacker, which is documented in #1617, broadly the answer here is that I'd expect new projects to be using Webpacker, but we need to continue to support Sprockets (basically until a version or two after it's removed from Rails, as we do with everything). I'd expect that the solution to this problem involves an extra hook/method call to provide the option for which frontend pipeline is being used in something like config/application.rb.
As for JavaScript dependencies, I'd like to simplify this dependency graph too. This has been discussed in #1469.
I don't think having a separate gem for the purposes of adding a theme is a direction the project should do in; users can override views if they like using the generators (which I'd expect to be a less frequent use case) and adding another gem would add to the maintenance burden of maintaining not just this project but various associated plugins, too.
First thanks for this pretty light gem.
I'm opening this issue for a proposal about themes.
We plan for a project to make a full custom theme/template for
administrate
. This seems not a problem sinceadministrate
views seems easily overwritable.But the fact that we will still install gem that install jquery, momentjs, sass, etc, for nothing (since we plan to use webpacker and other libraries) is a bit noisy.
I was thinking about a separate gem for the theme part that contains stylesheets and javascripts. And so update the README to tell user to install the two gem by default.
administrate
+administrate_theme
administrate-core
+administrate
(that contains theme and depends onadministrate-core
)What do you think about?
The text was updated successfully, but these errors were encountered: