Skip to content

Update Message and Notification documentation #879

Closed
@rsrogers4

Description

@rsrogers4
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions