Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Message and Notification documentation #879

Closed
1 task done
rsrogers4 opened this issue Jun 18, 2019 · 3 comments
Closed
1 task done

Update Message and Notification documentation #879

rsrogers4 opened this issue Jun 18, 2019 · 3 comments
Labels
Accept You are right, we should do that outdated Stale update doc

Comments

@rsrogers4
Copy link

rsrogers4 commented Jun 18, 2019

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

@tangjinzhou
Copy link
Member

We will improve the documentation. Of course, you can also directly pr.

@tangjinzhou tangjinzhou added Accept You are right, we should do that update doc labels Jun 19, 2019
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accept You are right, we should do that outdated Stale update doc
Projects
None yet
Development

No branches or pull requests

2 participants