read the mint-ui documentation, such as using the following component
Toast("");
this.$toast ("prompt") so that you can execute
if the document is written as Toast ("prompt message"); it cannot be executed directly, or this.$Toast ("prompt message"); nor can
Why change Toast to toast
if I write this.$toast ("prompt"), I try
MessageBox ("prompt", "operation successful") for a different component, for example, this.$messageBox ("prompt", "operation successful") cannot be executed.
how should components in mint-ui be called correctly?
add:
import MintUI from "mint-ui"
import" mint-ui/lib/style.css"
Vue.use (MintUI)
I am the whole mint-ui introduced