install module:
npm install mint-ui -S
mains.js:
import Mint from "mint-ui";
import "mint-ui/lib/style.css"
Vue.use(Mint);
I want to use the toash component now
using the toash component in xx.vue he will prompt that he cannot find
if I add this sentence: import {Toast} from "mint-ui" you can
Q:
but I have already referenced it globally in main.js. Why do I have to quote it locally once