Skip to content
Example of vuejs application with authorization and user roles
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.babelrc
.editorconfig
.env.defaults
.eslintrc.js
.gitignore
README.md
jsconfig.json
package-lock.json
package.json
webpack.config.js

README.md

vue2-training

A Vue2 training with vue-router/vuex/vee-validate!

Instalation

$ cp .env.defaults .env
$ nano .env # add APP_KEY to this file
  • Install npm dependencies:
# install dependencies
$ npm install

Usage

# serve with hot reload at localhost:8081
$ npm run dev

# build for production with minification
$ npm run build

Usefull

To validate (through eslint) javascript code in .vue files, add follow lines in Preferences > Setting:

"eslint.validate": [
    "javascript",
    "javascriptreact",
    "html",
    "vue"
],
"[vue]": {
    "editor.tabSize": 2,
    "editor.insertSpaces": true
},
"eslint.options": {
    "extensions": [".html", ".js", ".vue", ".jsx"]
}
You can’t perform that action at this time.