diff --git a/app/views/layouts/application.haml b/app/views/layouts/application.haml index c3a6a26..5f5835f 100644 --- a/app/views/layouts/application.haml +++ b/app/views/layouts/application.haml @@ -6,10 +6,14 @@ %meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/ = csrf_meta_tags = csp_meta_tag - = stylesheet_link_tag "tailwind" = stylesheet_link_tag "application" = javascript_importmap_tags + - if Rails.env.development? + %script{:src => "https://cdn.tailwindcss.com"} + - else + = stylesheet_link_tag "tailwind" + %body = render "layouts/header" = render "layouts/messages"