vscode 编辑器属性没有提示
ajesses opened this issue · comments
Jesse Wang commented
Makowsky Furrer commented
有解决嘛?代码提示和类型校验都失效了
LooSheng commented
如果你使用 pnpm ,在没有任何.npmrc
配置的的情况下,你将无法获得代码提示和类型校验,因为在顶层依赖中没有 @vue/runtime-core
.
有两种解决方案:
.npmrc
添加
shamefully-hoist=true # or public-hoist-pattern[]=@vue*
运行 pnpm i
- 使用
0.18.5
版本
Runlong Yao commented
如果你使用 pnpm ,在没有任何
.npmrc
配置的的情况下,你将无法获得代码提示和类型校验,因为在顶层依赖中没有@vue/runtime-core
. 有两种解决方案:
.npmrc
添加shamefully-hoist=true # or public-hoist-pattern[]=@vue*
运行
pnpm i
- 使用
0.18.5
版本
thx