ivarvermeulen / nuxt-serverless-at-edge Goto Github PK
View Code? Open in Web Editor NEWNuxt.js Serverless SSR using Cloudfront, Lambda@edge and S3
Nuxt.js Serverless SSR using Cloudfront, Lambda@edge and S3
Hi
Thanks for this, seems really good. I am struggling with this error:
The specified bucket does not exist
Any ideas?
Hey Ivar, thanks for the demo...trying to get our Nuxt project running serverless, and based on your demo, tried to get running in lambda. If I just build a complete skeleton project with nuxt create app, and only add in serverless follwoing your steps, my deploy errors out saying I already hit the 50MB Lambda function limit. Serverless uses aws api which is like 60MB or something alone. In a real production project with many libraries in node modules, how can we possibly run serverless in lambda with their limits? What am I missing? Thanks
Hi, I tried deploy your example, and get this errors:
To this:
after:deploy:deploy: - aws s3 cp --recursive ./.nuxt/dist/client/ s3://nuxt-serverless-at-edge/_nuxt/ --cache-control "max-age=31536000,public,immutable" - aws s3 cp --recursive ./static/ s3://nuxt-serverless-at-edge/ --exclude "README.md" --cache-control "max-age=31536000,public,immutable"
The request could not be satisfied.
The Lambda function returned an invalid request or response to CloudFront.
Generated by cloudfront (CloudFront)
Please, can you update configuration? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.