MMU2
MMU2
me too, I got a error in vscode ``` Property '$message' does not exist on type 'xxx'. ``` but the `$message` works in chrome
解决了,查了[ts文档](https://www.tslang.cn/docs/handbook/tsconfig-json.html) 看`@types,typeRoots和types`这部分 里面有讲到编译时,对于types的指定位置是如何配置的 我的项目用脚手架初始化的,`element-ui`时后面装的,我发现初始的`tsconfig`文件下面指定的types文件夹就不包含element-ui,要手动加上 ``` { "compilerOptions": { "target": "esnext", "module": "esnext", "strict": true, "jsx": "preserve", "importHelpers": true, "moduleResolution": "node", "experimentalDecorators": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "sourceMap": true, "baseUrl": ".",...