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

The screen generator not work well #944

Closed
Den368 opened this issue Mar 28, 2017 · 4 comments
Closed

The screen generator not work well #944

Den368 opened this issue Mar 28, 2017 · 4 comments

Comments

@Den368
Copy link

Den368 commented Mar 28, 2017

What's going on?
ignite generate screen something create the files somethingScreen in Containers and somethingScreenStyle, however, the import of the style by default is:
// Styles import styles from './Styles/somethingStyle' as you can see the file name is different.
I know it's not a big deal to rename the file or the import but this thing not happened to me in Ignite 1


Steps to reproduce

  1. Install fresh installation of Ignite 2.
  2. Run ignite generate screen something
  3. Run react-native run-android
  4. Import Error

ignite doctor results:

@GantMan
Copy link
Member

GantMan commented Mar 28, 2017

hiya, your ignite doctor results aren't showing. Please re-run and post those.

@GantMan
Copy link
Member

GantMan commented Mar 28, 2017

Also, I think this might be fixed in ir-next, would you like to give that a try?

igntie add ir-next and then try that screen generator.

@Den368
Copy link
Author

Den368 commented Mar 29, 2017

Thank you for the great advice, this fixed the problem.
However, this option should be by default as it is in Ignite 1.

@Den368 Den368 closed this as completed Mar 29, 2017
@GantMan
Copy link
Member

GantMan commented Mar 29, 2017

We will fix. Just awaiting our next stable release.

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

No branches or pull requests

2 participants