wan2land / serverless-nuxt

AWS Lambda + Serverless + Nuxt = Serverless Nuxt πŸš€πŸš€

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless Nuxt Plugin

Build Downloads Version License
dependencies Status devDependencies Status

Nuxt on AWS(Lambda + S3) with Serverless Framework.

Demo

Installation

Installation is done using the npm install command:

npm i nuxt-aws-lambda
npm i serverless serverless-nuxt-plugin -D

Check out our complete installation guide to setting up your project.

Documents

Options

custom:
  nuxt:
    version: v${file(./package.json):version}
    bucketName: my-nuxt-project-${self:provider.stage}
    cdnPath:
    assetsPath:
    assetsCacheMaxAge:
Name Description Default
version (required) version
bucketName (required) AWS S3 Bucket Name for static files
cdnPath CDN Path. If this value is not set, the default S3 route(https://${config.bucketName}.s3.amazonaws.com) is used. null
assetsPath Path of assets created after nuxt build. ".nuxt/dist/client"
assetsCacheMaxAge CacheControl MaxAge to use when uploading assets to S3. Using ms. 365d

About

AWS Lambda + Serverless + Nuxt = Serverless Nuxt πŸš€πŸš€


Languages

Language:JavaScript 90.2%Language:TypeScript 8.8%Language:Shell 1.0%