Skip to content

A Vue project template with Loopback framework optionally with Vuex, Vue-router, and Auth boilerplaite

License

Notifications You must be signed in to change notification settings

InCuca/vue-loopback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Walker Leite
Jul 13, 2018
08cf23e · Jul 13, 2018
Jul 12, 2018
Feb 28, 2018
Feb 28, 2018
Feb 28, 2018
Oct 29, 2017
May 10, 2018
Feb 20, 2018
Jul 12, 2018
Oct 22, 2017
Jul 12, 2018
Jul 13, 2018
May 15, 2018
Jul 12, 2018
Jul 13, 2018

Repository files navigation

vue-loopback

Travis

A Vue project template with Loopback framework featuring ES6, Gulp, and Jest for unit tests

This template is for Vue 2.x only with vue-cli.

Features

  • Loopback service using axios at client/services/loopback;
  • Full authentication support, by default the account listed in server/initial-data/maintenance-account.json is created;
  • Ajax Async queue module in client/modules/async (useful to see if and how many requests are being made to the server);
  • CSS Modules, Sass and Bootstrap Vue.

Usage

  $ npm install -g vue-cli
  $ vue init InCuca/vue-loopback project-name
  $ npm install

Folder structure

  1. client: Vue client files
  2. common: Common client and server model files
  3. server: Loopback server files
  4. test: Unit test

Linting

  $ npm run lint

Testing

  $ npm test

Running the development server (API and Client)

  $ npm run dev

Debug

$ DEBUG=loopback npm run dev

More info...

Build to ./build

  $ npm run build

Executing built files

Please remember to update server/*.production.json files to match your enviroment.

  $ cd build
  $ npm run start