Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-loopback-vue

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-loopback-vue

generator-loopback-vue

  • 1.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

generator-loopback-vue

通过本源码你可以学习到:

  • Strongloop是是如何通过一行命令和代码实现restful API接口,包括CRUD等14个接口
  • model是如何定义的,以及model-relation 定义,以及ACL接口权限控制等
  • CI持续集成的配置,Docker容器,docker部署文件
  • 如何migrate数据库
  • vue1.0 是如何玩?以及vue-resouce的使用,vue-router,webpack,babel等
  • loopback自带的authenticate 权限控制,accesstoken机制,credentials
  • strong-pm 部署命令,以及slc主要命令
  • 如何把项目部署在daocloud中,以及集成daovoice服务
  • 增加了个vue-pagenav 组件的使用 实现分页功能

当前build,CI状态: Build Status CircleCI

Docker镜像 项目: loopback-vue

最新版本: latest 镜像地址: daocloud.io/qxl1231/lb-vue2

在线demo:

http://loopback-vue.daoapp.io/

image

集成了daovoice玩玩哈哈~~~炫酷! image

image

The project is generated by LoopBack.+vue.js.

启动:(国内用cnpm,国外用npm)

   1. cnpm i   
   2. 修改datasources.json 中的数据库配置比如:localhost:27017
   3. node server/bin/create-admin.js 添加管理员帐号,密码
   3.npm run build:js & node .(cold reload) --hot reload npm run watch:js

遇到问题1:loopback+vue 不能运行 答:1.npm install 2.npm run build:js 3.node .

问题2:热部署 To use hot reload, please try this command:npm run watch:js & node .

启动:$npm run watch:js & node .

问题3:If you have error, try this:

npm install vueify-insert-css vue-hot-reload-api babel-core babel-preset-es2015 babel-plugin-transform-runtime babel-runtime@5 --save-dev

Hot reloading detail:

https://github.com/vuejs/vueify

loopback cmd:

  • slc loopback 初始化项目
  • slc loopback:datasource
  • slc loopback:model
  • slc loopback:relation
  • slc loopback boot-script

others:deploy and status

LICENSE

MIT

捐赠

您的捐赠,是我持续开源的动力。

支付宝微信

Keywords

FAQs

Package last updated on 23 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc