Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Vuex and vue-router not installed during scaffolding #273

Closed
AmyXS opened this issue Jun 16, 2017 · 3 comments
Closed

Vuex and vue-router not installed during scaffolding #273

AmyXS opened this issue Jun 16, 2017 · 3 comments

Comments

@AmyXS
Copy link

AmyXS commented Jun 16, 2017

Describe the issue / bug.

#
I chose Vuex and vue-router when scaffolding, but can't find src/renderer/store or src/renderer/router/, or vuex and vue-router in node_modules after npm install.

How can I reproduce this problem?

#
• vue init simulatedgreg/electron-vue my-project
• select Vuex and vue-router when asked
• npm install after vue init

If visual, provide a screenshot.

#

Tell me about your development environment.
  • Node version: v8.0.0
  • NPM version: 5.0.0
  • vue-cli version: (if necessary) 2.8.2
  • Operating System: OSX 10.11.6

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.

@SimulatedGREG
Copy link
Owner

SimulatedGREG commented Jun 16, 2017

select Vuex and vue-router when asked

You stated that you selected vuex and vue-router during scaffolding. So my question is, did you actually toggle the option, because all four options are already pre-selected by default. If you were to toggle any of the plugins once, then you would disable that during scaffolding.

There was also a recent node regression that caused issues with vue-cli. You stated you are using node@8.0.0, so you may also need to upgrade to node@^8.1.1.

nodejs/node#13557 (comment)

@AmyXS
Copy link
Author

AmyXS commented Jun 16, 2017

Hi Greg,

Thanks so much! You are right, I did toggle these options because I thought they were off by default.

Happy to close the issue now!

Cheers!

Amy

@AmyXS
Copy link
Author

AmyXS commented Jun 16, 2017

Will also upgrade my node version too! Thanks for your information!

@AmyXS AmyXS closed this as completed Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants