-
Notifications
You must be signed in to change notification settings - Fork 119
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
require_tree error #291
Comments
Can you post your |
config/importmap.rb
app/assets/config/manifest.js
|
Ah, first, you have to refer exclusively to paths mapped in the importmap in your application.js file. So you can't do stuff like Second, if you're switching over to importmaps, I'd switch to Propshaft too. Then you don't need the config/manifest.js setup. If that's where the But yeah, it's a considerable effort to switch when you already have an existing application like this. But I think you can get there! Best of luck ✌️ |
I'm trying to switch to import_maps. This error is showing when rendering the application layout require_tree argument must be a directory. When viewing active admin it works fine.
application.html.slim
admin.html.slim
application.js
I've tried commenting out all imports and still get the same error
The text was updated successfully, but these errors were encountered: