我该如何解决找不到模块'vue-headful'的声明文件?

时间:2019-11-30 02:13:06

标签: typescript vue.js npm

我使用vuetify的项目

我尝试为seo安装vue-headful。

参考:

https://github.com/troxler/vue-headful

How can I bind the html <title> content in vuejs?

我尝试了,它可以工作。但是在我的main.js中存在这样的错误:

enter image description here

我尝试:npm install @types/vue-headful

存在错误:

npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fvue-headful - Not found npm ERR! 404 npm ERR! 404 '@types/vue-headful@latest' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

我该如何解决这个问题?

0 个答案:

没有答案