Skip to content

Instantly share code, notes, and snippets.

@kevinhq
Created July 10, 2020 04:55
Embed
What would you like to do?
Step-by-Step guide on how to move from Sprockets to Webpacker - packs/example2.js
/* 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