You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm (and my team) having the following issue.
When we are generating a new _route_ then the _route-config_ file is never created. Even with thin the other created files (component etc) the Routeconfig stays empty.
I didn't manage to find something that explains that here on as I tried to make it work.
Any ideas? Is this a known behaviour or bug? The docs doesn't provide such info.
@hansl Yes I'm on the 0.0.31.
So based to the docs, when I'm generating a new route what should I expect?
Just the files so I have to go and create the route config for each route? Then what is the purpose of generating new route?
@vapits the generation of routes has been and currently is a pain point. This has been addressed in PR #427 and will continue to be refined. You can take advantage of this by working off of a local version of this repo, or await the next release of the CLI to npm.
Activity
[-]route-config.js is not created[/-][+]route-config.ts is not created[/+]hansl commentedon Apr 15, 2016
The CliRouterConfig has been deprecated in favor of updating the parent route source file instead.
Are you on 0.0.31? You can safely delete that file now and remove its import and usage in your routes.
vapits commentedon Apr 18, 2016
@hansl Yes I'm on the 0.0.31.
So based to the docs, when I'm generating a new route what should I expect?
Just the files so I have to go and create the route config for each route? Then what is the purpose of generating new route?
Brocco commentedon Apr 18, 2016
@vapits the generation of routes has been and currently is a pain point. This has been addressed in PR #427 and will continue to be refined. You can take advantage of this by working off of a local version of this repo, or await the next release of the CLI to npm.
vapits commentedon Apr 19, 2016
Thx @Brocco for your answer.
PR is closed though, still have thoughts on the implementation? Can I help somehow?
Brocco commentedon Apr 19, 2016
@vapits the PR is closed because it was merged in. I do appreciate the offer for help though 🎉👍
angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.