-
Notifications
You must be signed in to change notification settings - Fork 12k
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
feat(module): add ability to generate a routing file for new modules #1971
Conversation
LGTM, but I'll block this until my e2e is in and you add a new e2e to test this. It's easy so shouldn't be a big deal ;) |
Okay my e2e PR is in master now. Could you rebase and add an e2e? It should be simple :) Just add a new e2e for modules (I think there might be missing one already). |
55d7d81
to
7f41ead
Compare
@hansl I updated the PR with some e2e tests |
|
||
|
||
export default function() { | ||
const moduleDir = join(process.cwd(), 'src', 'app', 'test-module'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avoid using process.cwd()
. And you can simply use src/app/test-module
as it doesn't matter if it's windows or not (for the expect functions).
7f41ead
to
921ea84
Compare
LGTM |
Does this enable route generation or it is still disabled? |
It generates all the building block but not route generation. Inserting and making your routes is simpler now than it was before though. |
Thanks you! |
@hansl, re
It looks like this is included in the latest release but how do we use it? |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.