使用pnpm安装 components.d.ts 文件内 declare module '@vue/runtime-core' 无效
XHNLYW opened this issue · comments
Gao XiaoLiang commented
使用pnpm安装后 node_modules内找不到@VUE components.d.ts内 declare module '@vue/runtime-core' 无效
sondh0127 commented
Kevin Deng 三咲智子 commented
- Method 1: enable
shamefully-hoist
- Method 2: install
@vue/runtime-core
as dev dependency.