Created
July 10, 2020 04:45
-
-
Save kevinhq/44d2de6361aa3e028edec4f7846861d7 to your computer and use it in GitHub Desktop.
Step-by-Step guide on how to move from Sprockets to Webpacker - packs/example1.js
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/javascript/packs/example1.js */ | |
var example1 = function doSomething() { | |
// Your codes here | |
} | |
export default example1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment