阅读背景:

Aurelia依赖注射装饰器不起作用

来源:互联网 

I'm having a problem getting the @inject decorator to work when using Aurelia (framework v 0.17, dependency-injection v 0.11.2); I receive an Unexpected Token error on the decorator. I've tried both Chrome 46 and FF Dev 44.0a2, both report the same error. I have experimental javascript features enabled in Chrome. Injection works just fine when I use the static method option. I also have Babel 5.8 for the transpiler. decora




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: