You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*大佬求救
import {Vuesax} from "vuesax"
app.use(Vuesax)
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. 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)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
*大佬求救
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