We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This should work:
// in pages/index.js import { Layout } from 'layout' export default () => <Layout /> // in layout/index.js export { default as Layout } from './Layout'
export { default as Layout } from './Layout' ^^^^^^ SyntaxError: Unexpected token export
yarn dev
The text was updated successfully, but these errors were encountered:
nvm. this appears to be a duplicate of #883
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
This should work:
Current Behavior
Steps to Reproduce
yarn dev
Your Environment
The text was updated successfully, but these errors were encountered: