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

docs: make obvious where to import store from #1687

Merged
merged 2 commits into from
Mar 11, 2020
Merged

Conversation

elevatebart
Copy link
Contributor

As we browse through the modules page, it is unclear where the store is imported from.

Since it is a one liner, I thought it would clarify to have the import explicitly here.

Tell me what you think.

As we browse through the modules page, it is unclear where the `store` is imported from.

Since it is a one liner, I thought it would clarify to have the import explicitly here.

Tell me what you think.
@ktsn
Copy link
Member

ktsn commented Mar 3, 2020

You can't import store from vuex as it is an instance object which you create by new Vuex.Store and where users import from may be different between users.

@elevatebart
Copy link
Contributor Author

Thank you @ktsn.
I did not know that,
Do you think it is useful that I try to clarify it somewhere?

docs/guide/modules.md Outdated Show resolved Hide resolved
@kiaking kiaking added the documentation Improvements or additions to documentation label Mar 3, 2020
@kiaking
Copy link
Member

kiaking commented Mar 10, 2020

@elevatebart Hi! How is't going? Would it be possible for you to update the docs including comment from ktsn?

@elevatebart
Copy link
Contributor Author

御免なさい...

(^^;)

@kiaking
Copy link
Member

kiaking commented Mar 11, 2020

Thanks! Looking good to me. What do you say @ktsn ?

Copy link
Member

@ktsn ktsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you!

@ktsn ktsn merged commit 4d7f390 into vuejs:dev Mar 11, 2020
andrewminer pushed a commit to andrewminer/vuex that referenced this pull request Mar 19, 2020
* docs: make obvious where to import store from

As we browse through the modules page, it is unclear where the `store` is imported from.

Since it is a one liner, I thought it would clarify to have the import explicitly here.

Tell me what you think.

* docs: import vuex instead of store

Co-Authored-By: Katashin <[email protected]>

Co-authored-by: Katashin <[email protected]>
vaga pushed a commit to vaga/vuex that referenced this pull request Apr 20, 2020
* docs: make obvious where to import store from

As we browse through the modules page, it is unclear where the `store` is imported from.

Since it is a one liner, I thought it would clarify to have the import explicitly here.

Tell me what you think.

* docs: import vuex instead of store

Co-Authored-By: Katashin <[email protected]>

Co-authored-by: Katashin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants