Vue-cli 3.0 installation third-party plug-in could not find module

1. Today, under the typescript syntax of vue-cli3.0, install the vue-awesome-swiper plug-in.
after using yarn add vue-awesome-swiper,
reported an error that the module could not be found in import VueAwesomeSwiper from "vue-awesome-swiper" in main.ts. In node_modules, it has been successfully installed
2. A screenshot of the error is attached below

clipboard.png

I don"t know if I introduced the plug-in in the wrong way, or whether swiper doesn"t support ts checking yet. It can be introduced successfully if you don"t use ts.
I hope the boss will give me an answer. Thank you.

Nov.05,2021

has the problem been solved? can you share the solution


The

console makes it clear that not because the module cannot be found, but because the module's declaration file cannot be found using ts, that is, d.ts .

just searched npm , but did not find the corresponding declaration file for this library. The subject can contact the module author to provide the declaration file , or write one yourself.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f9e7-2c48d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f9e7-2c48d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?