今天在写vite + ts 项目是意外的爆出了bug:Module '"element-plus"' has no exported member 'xxx'. Did you mean to use 'import xxxfrom "element-plus"
其实我们只需要在 tsconfig.json 中将 “moduleResolution” 所对应的值改为 “node” 就可以解决了
今天在写vite + ts 项目是意外的爆出了bug:Module '"element-plus"' has no exported member 'xxx'. Did you mean to use 'import xxxfrom "element-plus"
其实我们只需要在 tsconfig.json 中将 “moduleResolution” 所对应的值改为 “node” 就可以解决了