Skip to content

Instantly share code, notes, and snippets.

@hinata4zzahra
Last active October 8, 2018 00:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hinata4zzahra/3280627b73c109c16739970bd9210329 to your computer and use it in GitHub Desktop.
Save hinata4zzahra/3280627b73c109c16739970bd9210329 to your computer and use it in GitHub Desktop.
// B.js
import A from './A' //this is a default import, It only works if A has the default export
// A.js
export default 93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment