serving vue as assert
This commit is contained in:
parent
9841ee03e8
commit
5e2c10cd93
11909
app/assets/javascript/merged/vue.js
Normal file
11909
app/assets/javascript/merged/vue.js
Normal file
File diff suppressed because it is too large
Load Diff
11
app/assets/javascript/merged/vue.min.js
vendored
Normal file
11
app/assets/javascript/merged/vue.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -3,6 +3,10 @@
|
|||||||
All Images
|
All Images
|
||||||
|
|
||||||
= render "layouts/merged_header"
|
= render "layouts/merged_header"
|
||||||
|
- if Rails.env.development?
|
||||||
|
= javascript_include_tag "merged/vue.js"
|
||||||
|
-else
|
||||||
|
= javascript_include_tag "merged/vue.min.js"
|
||||||
|
|
||||||
.images
|
.images
|
||||||
.flex.justify-center
|
.flex.justify-center
|
||||||
|
@ -9,7 +9,7 @@ module Merged
|
|||||||
class Engine < ::Rails::Engine
|
class Engine < ::Rails::Engine
|
||||||
isolate_namespace Merged
|
isolate_namespace Merged
|
||||||
initializer "merged.assets.precompile" do |app|
|
initializer "merged.assets.precompile" do |app|
|
||||||
app.config.assets.precompile += %w( merged/merged.css merged/merged_logo)
|
app.config.assets.precompile += %w( merged/merged.css merged/vue.js merged/vue.min.js merged/merged_logo)
|
||||||
add_image_assets(app.config , "section_preview")
|
add_image_assets(app.config , "section_preview")
|
||||||
add_image_assets(app.config , "card_preview")
|
add_image_assets(app.config , "card_preview")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user