Created
November 12, 2016 10:01
-
-
Save victorvhpg/25b2c55d620a09cf4b0aa4bfec47be7d to your computer and use it in GitHub Desktop.
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
//para modulos default | |
import variavelDefault from "./exemplo.js"; | |
//para modulos default que também possuem outros exports | |
import variavelDefault, { variavelNaoDefault } from "./exemplo.js"; | |
//renomeando a default | |
import { default as variavelDefault, variavelNaoDefault } from "./exemplo.js"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment