ad tailwind, generate and export css to be used in app

This commit is contained in:
2022-12-07 18:02:27 +02:00
parent dbcb654990
commit badcd70aeb
10 changed files with 1286 additions and 18 deletions

View File

@ -2,7 +2,7 @@ module Merged
class Engine < ::Rails::Engine
isolate_namespace Merged
initializer "merged.assets.precompile" do |app|
app.config.assets.precompile += %w( config/merged_manifest.js merged/merged_logo)
app.config.assets.precompile += %w( merged/merged.css merged/merged_logo)
add_image_assets(app.config , "section_preview")
add_image_assets(app.config , "card_preview")
end