Basic frontend with Vue.js for stiva cms
- nodejs > 10
- serverless > 1
npm i
npm run dev
This command build in dist/
cd client
npm run build
- create a bucket
- in your static frontend, build for create dist
export API_URL=https://myapigatewayendpoint
export SITE=mysitenameforheaderkey
npm run build
- deploy
serverless client deploy --region YOUR_REGION --s3-bucket YOUR_BUCKET_NAME
NOTE Other info on: https://github.com/fernando-mc/serverless-finch