Vue scaffolding based on Yeoman.
npm install -g yo
And then:
git clone git@github.com:topproio/vue-base.git
Add the template of the repo to Yeoman's list through npm link
.
cd vue-base
npm link
Then generate your vue project in new folder:
yo
...
Goto the root directory, and run
npm install
Then run husky:update
after git init
npm run husky:update
Developing Happy
npm run dev
Error: EACCES: permission denied, open '/Users/<user>/.config/configstore/yo.json'
You don't have access to this file.
...
Solve it:
sudo chmod g+rwx ~ ~/.config ~/.config/configstore
- Vuex
- Vue Bus