vue-cli-plugin-netlify-lambda
Vue Cli plugin for adding Netlify Lambda
Last updated a year ago by shortdiv .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vue-cli-plugin-netlify-lambda 
SYNC missed versions from official npm registry.

vue-cli-plugin-netlify-lambda

netlify-lambda plugin for vue-cli

Sets up netlify-lambda for vue-cli projects to build and serve AWS lambda functions.

Installing in an Already Created Project

vue add netlify-lambda

Usage

This ads a netlify.toml and a src/lambda folder with an example hello.js lambda function.

Any js file added in src/lambda will be built as a lambda. It will be compiled with webpack and babel and any imports will be bundled (no native dependencies, though).

When deployed to Netlify, the AWS lambda's are reachable under /.netlify/functions/:name - ie, the hello.js Lambda will be available under /.netlify/functions/hello.

The plugin also sets up a proxy and runs the Lambdas locally, to simplify local development.

Current Tags

  • 0.1.1                                ...           latest (a year ago)

3 Versions

  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 5
Last Month 22
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |