Skip to content

Commit 3805f0a

Browse files
author
Ives van Hoorne
committed
Enable decorators in vue
1 parent 9a437b2 commit 3805f0a

File tree

1 file changed

+5
-1
lines changed
  • packages/app/src/sandbox/eval/presets/vue-cli

1 file changed

+5
-1
lines changed

packages/app/src/sandbox/eval/presets/vue-cli/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ vuePreset.registerTranspiler(module => /\.jsx?$/.test(module.path), [
6767
'latest',
6868
'stage-2',
6969
],
70-
plugins: ['transform-runtime', 'transform-vue-jsx'],
70+
plugins: [
71+
'transform-runtime',
72+
'transform-vue-jsx',
73+
'transform-decorators-legacy',
74+
],
7175
},
7276
},
7377
]);

0 commit comments

Comments
 (0)