Skip to content

route-config.ts is not created #439

Closed

Description

@vapits
  1. OS. El Capital (but also on Win 10)
  2. Versions.
    angular-cli: 0.0.31
    node: 5.10.1

Hi there,
amazing tool!

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.

Activity

  1. changed the title [-]route-config.js is not created[/-] [+]route-config.ts is not created[/+] on Apr 15, 2016
  2. hansl commented on Apr 15, 2016

    @hansl
    Contributor

    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.

  3. vapits commented on Apr 18, 2016

    @vapits
    Author

    @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?

  4. Brocco commented on Apr 18, 2016

    @Brocco
    Contributor

    @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.

  5. vapits commented on Apr 19, 2016

    @vapits
    Author

    Thx @Brocco for your answer.

    PR is closed though, still have thoughts on the implementation? Can I help somehow?

  6. Brocco commented on Apr 19, 2016

    @Brocco
    Contributor

    @vapits the PR is closed because it was merged in. I do appreciate the offer for help though 🎉👍

  7. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  8. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions