2
votes

I have a simple question : I install and create a project vue with VUE CLI. I would like to add VUEX to add a store in my app. But when I use. : npm install vuex --save-dev I have errors : Could not resolve dependency:peer vue@"^2.0.0" from [email protected] node_modules/vuex vuex@"*" from the root project

How can I fix this ? Should I install vue in other way ?

Thanks for help !

1
Maybe try just vue add vuexAsimple
Yes ! Very simple ! Thankschtouk

1 Answers

2
votes

If you have problems with the command line, you can also add vuex with the User Interface. Just type vue ui and install vuex under plugins tab in the browser window, which just opened (at port 8000)