-
-
Save 123ish/f90680302affec34d80fd22f2df0bbcf to your computer and use it in GitHub Desktop.
Step-by-Step guide on how to move from Sprockets to Webpacker - application.html.erb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%# app/views/layouts/application.html.erb %> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- add this new application.js --> | |
<%= javascript_pack_tag 'application' %> | |
</head> | |
<body> | |
<%= yield %> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment