Skip to content
This repository has been archived by the owner on Dec 12, 2017. It is now read-only.

如何加入decorator和 class 的支持? #163

Open
linuxing3 opened this issue Apr 15, 2017 · 0 comments
Open

如何加入decorator和 class 的支持? #163

linuxing3 opened this issue Apr 15, 2017 · 0 comments

Comments

@linuxing3
Copy link

想使用vue-class-component 模块,但怎样才能使用decorator 和 class ?

配置了babelrc,但是无效。

{
  "presets": ["es2015", "stage-0","stage-1", "stage-2"],
  "comments": false,
  "plugins": ["transform-decorators-legacy", "transform-class-properties"]
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant