Created
July 10, 2020 04:55
-
-
Save kevinhq/05a2e21d306739ec2490ffbf4ce967c5 to your computer and use it in GitHub Desktop.
Step-by-Step guide on how to move from Sprockets to Webpacker - packs/example2.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/example2.js */ | |
// to call example1 var, you need: | |
import example1 from './example1'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment