5.2.1 • Published 7 years ago
vue-loopback v5.2.1
vue-loopback
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.jsonis 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 installFolder structure
client: Vue client filescommon: Common client and server model filesserver: Loopback server filestest: Unit test
Linting
$ npm run lintTesting
$ npm testRunning the development server (API and Client)
$ npm run devDebug
$ DEBUG=loopback npm run devBuild to ./build
$ npm run buildExecuting built files
Please remember to update server/*.production.json files to match your enviroment.
$ cd build
$ npm run start