topproio / vue-base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-toppro-vue-base

npm npm npm npm

Vue scaffolding based on Yeoman.

Installation

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
...

How to start Vue project?

Goto the root directory, and run

npm install

Then run husky:update after git init

npm run husky:update

Developing Happy

npm run dev

Problems

OSX permission denied

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

Configuration

UI framework

  1. elementUI
  2. iView

Data store

  1. Vuex
  2. Vue Bus

Utils

  1. Lodash
  2. Underscore

About

License:MIT License


Languages

Language:JavaScript 78.1%Language:CSS 18.2%Language:Vue 3.1%Language:HTML 0.6%