-
Notifications
You must be signed in to change notification settings - Fork 399
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
Not working with create-react-native-app #131
Comments
I have the same problem but with create-react-app and antd (not mobile). |
@r20 , I wonder if it's because create-react-app ignores the changes in |
@stonecold123 , I haven't tried it yet but see http://stackoverflow.com/questions/44034773/how-do-i-use-babelrc-to-get-babel-plugin-import-working-for-antd. |
@r20, someone on the CRNA forum says you shouldn't need to eject to use the framework with different babel settings. I think there's a problem with the plugin itself. The antd team also says they are going to make an expo example ant-design/ant-design-mobile#1333 , so I'd wait before resort to eject. |
I have started a new project with create-react-native-app.
Change the .babelrc to this:
I'm still getting this error:
The text was updated successfully, but these errors were encountered: