components
components copied to clipboard
vue-starter: separate deployment and dev mode
Hey, I tried the vue-starter component standalone. I like that it`s easy to deploy the stuff to cloudfront and AWS.
What I recognized and would like to improve:
- deployment in cloudfront takes long due to how it is working in AWS.
- let the user now that the solution needs to be deployed first which takes up to 40 minutes
- mode to deploy solution in a lambda - especially for testing ?
- dev-mode re-deploys solution which takes up to 20 seconds - that`s too long
- please use local hot-reload mode that makes iteasy to
Is there a reliable way to run a vue app on Lambda? 🤔 ... afaik AWS always recommends serving frontend assets via S3/CloudFront
Is there a reliable way to run a vue app on Lambda? 🤔 ... afaik AWS always recommends serving frontend assets via S3/CloudFront
-
yes there is :) https://www.serverless.com/examples/aws-node-serve-dynamic-html-via-http-endpoint
-
yes for a later productive deployment it makes sense if s3/cloudfront will be used.
-
another option for a first fast deployment would be just to use s3 static web hosting.
please see the issue above as my personal impression that I would like to share with you. If you want you can close this issue.