ashnamuh / nuxt-lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nuxt-lambda

Example project uploading nuxt project to aws lambda

Build Setup

Make sure serverless can access your aws.

Follow Serverless credentials guide

# copy example config to make your own config
$ cp config/config.example.js config/config.js

# install dependencies
$ npm install

# serve local dev server with hot reload
$ npm run dev

# build for production and launch local server
$ npm run build
$ npm start

# build and deploy to Lambda and Api gateway
$ npm run deploy

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout Nuxt.js docs, Serverless docs and Aws lambda docs.

About


Languages

Language:JavaScript 57.9%Language:Vue 42.1%