serverless framework 演示
1.安装serverless framework
npm install serverless -g
2.创建web目录安装demo
mkdir web && cd webserverless create --template-url https://github.com/serverless-components/tencent-website/tree/master/example
3.部署
sls deploy

访问地址
https://my-bucket-1255856571.cos-website.ap-guangzhou.myqcloud.com/
Vue项目创建
sls init -t vue-starter --name vue-example
资料
yaml 文件参数浏览地址:
https://github.com/serverless-tencent/serverless-tencent-scf/blob/master/docs/zh/yaml.md
yaml 语言教程:
https://www.ruanyifeng.com/blog/2016/07/yaml.html
yaml 文件配置
https://github.com/serverless-components/tencent-website/blob/master/docs/configure.md
serverless component
https://github.com/serverless-components

