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.
client/services/loopback
;server/initial-data/maintenance-account.json
is created;client/modules/async
(useful to see if and how many requests are being made to the server); $ npm install -g vue-cli
$ vue init InCuca/vue-loopback project-name
$ npm install
client
: Vue client filescommon
: Common client and server model filesserver
: Loopback server filestest
: Unit test $ npm run lint
$ npm test
$ npm run dev
$ DEBUG=loopback npm run dev
$ npm run build
Please remember to update server/*.production.json
files to match your enviroment.
$ cd build
$ npm run start