diff options
-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> |