blocknotes / activeadmin_blaze_theme

A theme for Active Admin based on Blaze CSS 3.x
MIT License
46 stars 12 forks source link

Webpacker not working rails 6 #8

Closed IvRRimum closed 3 years ago

IvRRimum commented 3 years ago

Rails 6.0.3.5 3.0.0

My app/javascript/packs/active_admin.js


// Load Active Admin's styles into Webpacker,
// see `active_admin.scss` for customization.
import "../stylesheets/active_admin";

import "@activeadmin/activeadmin";

require('activeadmin_blaze_theme');

But the design doesnt change..

IvRRimum commented 3 years ago

When doing a deploy to production ModuleNotFoundError: Module not found: Error: Can't resolve 'activeadmin_blaze_theme' in '

blocknotes commented 3 years ago

Hey @IvRRimum The webpacker support is still experimental ATM.

I have just prepared a release with it (it was in the master branch only for the last week). I also updated the README instructions using Webpacker.

I made a test locally (with production conf) and it works using:

To troubleshoot you could:

I hope this will solve your issue.

blocknotes commented 3 years ago

Closing for missing feedback - feel free to re-open it if the issue is not solved