我正在为工作编写几个示例,其中一个让我头疼的是注入一个在Vue的引导过程中提供的服务。这个“工作”(我可以访问它,它编译和运行),我的JavaScript版本和类组件TypeScript版本没有问题或抱怨,但编译器抱怨说,当使用Vue object API和TypeScript时,this.sampleService/fake-button/fake-button-object-typescript.vue') dat
我有一个全新的Vue 3 CLI项目,在该项目中,VSCode向我显示了一个错误,尽管我已经告诉VSCode使用来自项目的TS版本(与CLI/Webpack相同),而不是VSCode“附带”的版本,但CLI环境
Usedaction Volar: Select Typescript Version -> Use workspace ve
嗨,我正在使用Vue 3和Typescript和Class组件。我只是从文档中复制粘贴了示例,但看起来Typescript有问题: TS1238: Unable to resolve signature of class decorator when called/node_modules/vue-class-component/dist/vue-class-component")' has no call signatures