From 90b1b21276c56ba5c3881490235da60f99e5a9f0 Mon Sep 17 00:00:00 2001 From: Torsten Date: Sun, 8 Jan 2023 14:59:24 +0200 Subject: [PATCH] use full tailwind build in dev --- app/views/layouts/application.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"