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
I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
I could not figure out how to make Message or Notification work until I realized that a) unlike all the other Vue components, Notification and Message need to use lower-case when importing (e.g., import { message} from "ant-design-vue"), and that b) setting the Vue.prototype.$message and Vue.prototype.$notification is mandatory (e.g., Vue.prototype.$message = message;).
PS: The same comments apply to modal.
What does the proposed API look like?
It would be wonderful if the documentation explained these requirements so that beginners can more easily use Message and Notification.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
I could not figure out how to make Message or Notification work until I realized that a) unlike all the other Vue components, Notification and Message need to use lower-case when importing (e.g.,
import { message} from "ant-design-vue"
), and that b) setting theVue.prototype.$message
andVue.prototype.$notification
is mandatory (e.g.,Vue.prototype.$message = message;
).PS: The same comments apply to modal.
What does the proposed API look like?
It would be wonderful if the documentation explained these requirements so that beginners can more easily use Message and Notification.
The text was updated successfully, but these errors were encountered: