• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

strongloop/gulp-loopback-sdk-angular: gulp plugin for auto-generating Angular $r ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

strongloop/gulp-loopback-sdk-angular

开源软件地址(OpenSource Url):

https://github.com/strongloop/gulp-loopback-sdk-angular

开源编程语言(OpenSource Language):

JavaScript 100.0%

开源软件介绍(OpenSource Introduction):

gulp-loopback-sdk-angular Build Status

⚠️ LoopBack 3 has reached end of life. We are no longer accepting pull requests or providing support for community users. The only exception is fixes for critical bugs and security vulnerabilities provided as part of support for IBM API Connect customers. (See Module Long Term Support Policy below.)

We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as soon as possible. Refer to our Migration Guide for more information on how to upgrade.

Overview

gulp plugin for auto-generating Angular $resource services for LoopBack. This is a port of the Grunt plugin here

Install

$ npm install --save-dev gulp-loopback-sdk-angular

Usage

var gulp = require('gulp');
var rename = require('gulp-rename');
var loopbackAngular = require('gulp-loopback-sdk-angular');

gulp.task('default', function () {
	return gulp.src('./server/app.js')
    .pipe(loopbackAngular())
    .pipe(rename('lb-services.js'))
    .pipe(gulp.dest('./client/js'));
});

API

loopbackAngular(options)

options

options.ngModuleName

Type: String Default: lbServices

Name for the generated AngularJS module.

options.apiUrl

Type: String Default: The value configured in the LoopBack application via app.set('restApiRoot') or /api

Everything Else

http://docs.strongloop.com/display/LB/AngularJS+JavaScript+SDK

License

MIT © Zi Ming Lin

Module Long Term Support Policy

This module adopts the Module Long Term Support (LTS) policy, with the following End Of Life (EOL) dates:

Version Status Published EOL
1.x End-of-Life Jun 2018 Dec 2020

Learn more about our LTS plan in the docs.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap