use full tailwind build in dev
This commit is contained in:
parent
fe7f0f4701
commit
90b1b21276
@ -6,10 +6,14 @@
|
|||||||
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
|
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
= csp_meta_tag
|
= csp_meta_tag
|
||||||
= stylesheet_link_tag "tailwind"
|
|
||||||
= stylesheet_link_tag "application"
|
= stylesheet_link_tag "application"
|
||||||
|
|
||||||
= javascript_importmap_tags
|
= javascript_importmap_tags
|
||||||
|
- if Rails.env.development?
|
||||||
|
%script{:src => "https://cdn.tailwindcss.com"}
|
||||||
|
- else
|
||||||
|
= stylesheet_link_tag "tailwind"
|
||||||
|
|
||||||
%body
|
%body
|
||||||
= render "layouts/header"
|
= render "layouts/header"
|
||||||
= render "layouts/messages"
|
= render "layouts/messages"
|
||||||
|
Loading…
Reference in New Issue
Block a user