Closed pyt111 closed 5 months ago
Start a new pull request in StackBlitz Codeflow.
It seems a bug from vue-facing-decorator
.
I get the same error when remove unplugin-turbo-console
.
It seems a bug from
vue-facing-decorator
. I get the same error when removeunplugin-turbo-console
.
关掉 unplugin-turbo-console
后,是vue/compiler-sfc
报错了,这个案例中没有配置
看这个新的案例:
(https://stackblitz.com/~/github.com/pyt111/my-vue-test-decorators)
那就说明这个错误与unplugin-turbo-console无关,似乎应该提给vue-facing-decorator
那就说明这个错误与unplugin-turbo-console无关,似乎应该提给vue-facing-decorator
卸载vue-facing-decorator 使用vue-class-component,同样会有问题。只要使用装饰器就会抛出错误
Describe the bug
[plugin:unplugin-turbo-console] This experimental syntax requires enabling one of the following parser plugin(s): "decorators", "decorators-legacy". (18:0)
Reproduction
https://stackblitz.com/edit/vitejs-vite-s1mfjm?file=src%2Fcomponents%2FHelloWorld.vue
System Info
Used Package Manager
pnpm
Validations