Open silencer07 opened 4 years ago
Looks like the /app
path is hardcoded in the generators. It wouldn't be hard for you to make the screen
generator set it based on an optional --appPath
flag or something and PR it. Check how the component
generator for an example of how to work with flags https://github.com/infinitered/ignite-bowser/blob/master/src/commands/generate/component.ts#L17
fastest is to copy the commands and template folder from ignite-browser to the ingnite plugin directory and remove ignite-browser from your dependencies. then change whatever you like ie: path in the command files
Basically the standard in our team is that all sources will be in src folder. if I generate new screen, it still goes to app folder and complains that index.ts does not exist
Is there a way to configure this? I find the generator neat!
Thanks