Skip to content

Update ui-router legacy import #239

@bernardocs

Description

@bernardocs

Hey guys!

It came to my attention (way back, actually) that the import done on the generator/component/temp.js file, which serve as scaffold to generate new components, is using a outdated module name.

Refer to this: angular-ui/ui-router/CHANGELOG.md

For the sake of keeping the project updated, changing it from:

import uiRouter from 'angular-ui-router';

to

import uiRouter from '@uirouter/angularjs';

would be right.

The reason I'm opening a issue for it, instead of a PR, is to discuss the impact of this change before going for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions