DEV Community

Discussion on: Getting started with Rails 6.1, TailwindCSS JIT, Webpacker & PostCSS 8

Collapse
 
frogfangio profile image
Albert Anstett

Great article, kudos !
I found one typo and since you did such a great job with this article, I would be glad to help by pointing to it: the path to config/webpacker/environment.js should be config/webpack/environment.js (webpack, not webpacker).

I also have a question: in file app/views/layouts/application.html.erb, the line
<%= stylesheet_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
is duplicate at lines 11 and 13. Is this done on purpose ?

Cheers and thanks again.

Collapse
 
davidteren profile image
David Teren • Edited

Thanks for the kudos.
Fixed the typo.

I'm not sure I follow your comment re the duplicate line. The three pack and link tags each have very distinct purposes.
If I'm missing something, please feel free to point it out.

Collapse
 
davidteren profile image
David Teren

Fixed. Thanks.