angular / router

The Angular 1 Component Router
MIT License
665 stars 135 forks source link

Using router in ES6? #408

Closed chyngyz closed 8 years ago

chyngyz commented 8 years ago

What's name of the router to import in es6, angular-new-router, ngComponentRouter none is working?

stnor commented 8 years ago

If you're using the unofficial npm package, npm i ngcomponentrouter --save you would import 'ngcomponentrouter';

dimitarrusev commented 8 years ago

@Chyngyz Use the file's canonical path in your import statement.

chyngyz commented 8 years ago

@dimitarrusev Thanks a lot, closing the issue.