Skip to content
New issue

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

ES6 module import error fix #14 #34

Merged
merged 3 commits into from
Nov 22, 2015
Merged

ES6 module import error fix #14 #34

merged 3 commits into from
Nov 22, 2015

Conversation

jessy1092
Copy link
Owner

Support ES6 export and import. Relative #14

Now could use like

import {Button} from 'react-semantify';

or

import * as Semantify from 'react-semantify';
let {Button} = Semantify;

or es5

var Button = require('react-semantify').Button;

Not support:

import Semantify from 'react-semantify';
let {Button} = Semantify;

jessy1092 added a commit that referenced this pull request Nov 22, 2015
ES6 module import error fix #14
@jessy1092 jessy1092 merged commit 8de099c into master Nov 22, 2015
@jessy1092 jessy1092 deleted the export branch November 22, 2015 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant