diff options
author | David Gay <david@davidgay.org> | 2021-04-21 21:10:55 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-04-21 21:10:55 -0400 |
commit | 3e85487fcad7f43ba0abd7fbb0a3b0bad619091b (patch) | |
tree | 056b9ca73c497e9e90fcbfd9d47063de498b5422 /app | |
parent | fb2f3c043ce8bf13626b3fb18d86aa398000c899 (diff) |
More tailwind setup stuff
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/packs/application.js | 2 | ||||
-rw-r--r-- | app/javascript/stylesheets/application.css | 6 | ||||
-rw-r--r-- | app/views/layouts/application.html.erb | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index f710851..856724b 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -11,3 +11,5 @@ import "channels" Rails.start() Turbolinks.start() ActiveStorage.start() + +require("stylesheets/application.css") diff --git a/app/javascript/stylesheets/application.css b/app/javascript/stylesheets/application.css new file mode 100644 index 0000000..229e18d --- /dev/null +++ b/app/javascript/stylesheets/application.css @@ -0,0 +1,6 @@ +@import "tailwindcss/base"; +@import "tailwindcss/components"; + +/* Other imports go here. */ + +@import "tailwindcss/utilities"; diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index b69d3d4..e7f5226 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -6,7 +6,7 @@ <%= csrf_meta_tags %> <%= csp_meta_tag %> - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + <%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> </head> |