Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

activeadmin_assets

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

activeadmin_assets

  • 1.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Gem Version Build Status Coverage

ActiveAdminAssets

This gem is for you if you want to be able to run ActiveAdmin v4+ without any asset setup, e.g.:

  • no cssbundling-rails or tailwindcss-rails
  • no sprockets or propshaft
  • no assets:precompile or similar build steps

Like the asset gems of old, it includes static copies of all required assets and injects them automatically.

Caveats

  • This will prevent you from customizing ActiveAdmin's tailwind config, making theming more hacky.
  • This will prevent you from using tailwind classes that are not used by ActiveAdmin itself.
  • This might break with ActiveAdmin updates, though I don't consider it likely so its not version-locked yet.

Installation

Add activeadmin_assets to your Gemfile.

Usage

That's it 😁. If you want, you can configure the path to serve static assets from:

ActiveAdminAssets.path = '/x/admin-assets' # default: '/active_admin_assets'

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jaynetics/activeadmin_assets.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 17 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc