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

Defualt sample vuex #1646

Closed
jgilbertcastro opened this issue Nov 18, 2019 · 6 comments
Closed

Defualt sample vuex #1646

jgilbertcastro opened this issue Nov 18, 2019 · 6 comments

Comments

@jgilbertcastro
Copy link

@jgilbertcastro jgilbertcastro commented Nov 18, 2019

What problem does this feature solve?

Vue-cli create some file and directory for vuejs but new vue developer don't now how to config a simple var. So I want to make a defualt sample for vuex on vue-cli options

What does the proposed API look like?

I will to add a new step to ask "sample config vuex?" And this will edit index.js on store to add a simple var to state and then edit HelloComponent to render that var

@ktsn

This comment has been minimized.

Copy link
Member

@ktsn ktsn commented Nov 18, 2019

What do you mean by "simple var"? Why are the existing examples not enough for you?
https://github.com/vuejs/vuex/tree/dev/examples

@jgilbertcastro

This comment has been minimized.

Copy link
Author

@jgilbertcastro jgilbertcastro commented Nov 18, 2019

@ktsn

This comment has been minimized.

Copy link
Member

@ktsn ktsn commented Nov 19, 2019

I'm afraid still not get you. An example code what you would want to describe would be helpful.

@jgilbertcastro

This comment has been minimized.

Copy link
Author

@jgilbertcastro jgilbertcastro commented Nov 19, 2019

@ktsn

This comment has been minimized.

Copy link
Member

@ktsn ktsn commented Nov 19, 2019

Ok, you are talking about boilerplate code generated by Vue CLI. In that case you should open an issue on Vue CLI repo rather than this repo as it is Vue CLI template.

@ktsn ktsn closed this Nov 19, 2019
@jgilbertcastro

This comment has been minimized.

Copy link
Author

@jgilbertcastro jgilbertcastro commented Nov 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.