楼主这是怎么回事哇:
无法找到模块“vue-3d-model”的声明文件。“xxxx/node_modules/vue-3d-model/dist/vue-3d-model.umd.js”隐式拥有 "any" 类型。
尝试使用 `npm i --save-dev @types/vue-3d-model` (如果存在),或者添加一个包含 `declare module 'vue-3d-model';` 的新声明(.d.ts)文件ts(7016)
然后我npm i --save-dev @types/vue-3d-model之后报错:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmmirror.com/@types%2fvue-3d-model - [NOT_FOUND] @types/vue-3d-model not found
npm ERR! 404 '@types/vue-3d-model@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
Vue-3D-Model:用简单的方式来展示三维模型一个用来展示三维模型的Vue组件,用最简单的方式在网页中展示三维模型,解决模型视角控制、鼠标事件等一系列问题。项目地址:https://github.com/hujiulon...