为什么import {Vuesax} from "vuesax" app.use(Vuesax)报错 #11805
Unanswered
RyanFan666
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
*大佬求救
Vue: Could not find a declaration file for module 'vuesax'. 'd:/LYFProject/VirtuLab_front/node_modules/vuesax/dist/vuesax.js' implicitly has an 'any' type.import {Vuesax} from "vuesax"
app.use(Vuesax)
Try `npm i --save-dev @types/vuesax` if it exists or add a new declaration (.d.ts) file containing `declare module 'vuesax';` 我是typescript初学者,为什么我引入包进vue老是报错,这个地方爆的是vuesax的错
import createVuetif from 'vuetify'
app.use(createVuetify)
Vue: Cannot find name 'createVuetify'. Did you mean 'createVuetif'?
这个又爆这个错
但是底下又可以
import {createVuetify} from 'vuetify'
app.use(createVuetify)
Beta Was this translation helpful? Give feedback.
All reactions