still trying to get the code working inside an engine (was fine in app)

This commit is contained in:
2023-02-08 12:29:52 +02:00
parent b956f5709a
commit 53b549e921
10 changed files with 18 additions and 6 deletions

View File

@ -1,7 +1,13 @@
require "opal-rails"
require "opal-browser"
module VueR
class Engine < ::Rails::Engine
isolate_namespace VueR
initializer "vue_r.assets.precompile" do |app|
app.config.assets.precompile += %w( vue_r.js )
end
end
end