Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Question: Customizing the "app" folder #310

Open
silencer07 opened this issue Feb 7, 2020 · 2 comments
Open

Question: Customizing the "app" folder #310

silencer07 opened this issue Feb 7, 2020 · 2 comments

Comments

@silencer07
Copy link
Contributor

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

@hedgerh
Copy link

hedgerh commented Feb 7, 2020

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

@kiwina
Copy link

kiwina commented Nov 29, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants