still trying to get the code working inside an engine (was fine in app)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user