Showing /Users/nikodemgorak/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rails_admin_actiontext-0.0.3/app/views/rails_admin/main/_form_actiontext.html.haml where line #1 raised:
couldn't find file 'trix/dist/trix' with type 'text/css'
I was trying to add the editor to rails admin.
package.json
Showing /Users/nikodemgorak/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rails_admin_actiontext-0.0.3/app/views/rails_admin/main/_form_actiontext.html.haml where line #1 raised:
couldn't find file 'trix/dist/trix' with type 'text/css'
I was trying to add the editor to rails admin. package.json
Trace of template inclusion: #<ActionView::Template /Users/nikodemgorak/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/bundler/gems/rails_admin-7962a19469a7/app/views/rails_admin/main/new.html.haml locals=[]>
I've added assets.rb in the initializers folder with
Rails.application.config.assets.paths << Rails.root.join('node_modules')
Any ideas?