Last active
August 15, 2020 18:03
-
-
Save kevinhq/d8d63a7924f36782964f95a585bdf023 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