问题

手动创建组件,报错: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning.ts(1219)

解决

VSCode 左下角的“设置”,Settings,搜索“experimentalDecorators”,勾选。
手动创建组件报错 experimentalDecorators
手动创建组件报错 experimentalDecorators

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
猜你喜欢
  • 2021-04-02
  • 2022-12-23
  • 2022-12-23
  • 2022-03-08
  • 2022-12-23
  • 2021-06-01
  • 2021-07-28
相关资源
相似解决方案