sonicoder86 / angular2-babel-esnext-starter

Angular development and testing examples with Babel in Javascript (ES6/ES7).
487 stars 84 forks source link

Annotation is not es6 #13

Closed FBerthelot closed 8 years ago

FBerthelot commented 8 years ago

I create this issue just to notice you that decorator is not es6 😄

You can do things like this :

export const AppComponent = Component({
        selector: 'my-app',
        template: '<h1>My Angular 2 App in true es6</h1>'
    })
    .Class({
        constructor: function() {}
    });

Maybe there is better and more beautiful way to avoid annotation, but didn't find it yet 😃

sonicoder86 commented 8 years ago

Yes i know. Is there a way to make a redirect for the old name if i rename the repository for example angular2-esnext-starter?

sonicoder86 commented 8 years ago

Yaaay it works out of the box https://github.com/blog/1508-repository-redirects-are-here

FBerthelot commented 8 years ago

Yes, github do it automatically ;) But not npm nor bower.

sonicoder86 commented 8 years ago

It is not published there so it can work.

sonicoder86 commented 8 years ago

Renamed the repo to esnext, now time to update the external links.