CloudBase Templates
云开发应用模板仓库,可通过 CloudBase Framework 一键创建和部署。
你可以安装 CloudBase CLI 最新版本(1.0.3+):npm i -g @cloudbase/cli
,并使用下面模板中的命令初始化应用。
CloudBase Framework 介绍
🚀 CloudBase Framework 是云开发开源的云原生前后端一体化部署工具,支持主流前后端框架,前后端一键托管部署在云端一体化平台,支持支持小程序、Web、Flutter、后端服务等多个平台。
Github 开源地址:https://github.com/TencentCloudBase/cloudbase-framework
欢迎给 CloudBase Framework 一个 🌟 star
应用模板示例
欢迎大家贡献应用模板:https://github.com/TencentCloudBase/cloudbase-framework/blob/master/doc/app.md
Tip:你可以通过 -e
参数直接指定应用所使用的环境 Id,如 cloudbase new vue-app vue -e testEnvId
。
|
名称 |
应用示例介绍 |
基于模板创建项目 |
![](https://camo.githubusercontent.com/39ca71eaecc0ea52da7c239e0fada7e4be2efc7cfd1aceb776a3729450b8842d/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f39383932613332313261343962646436356261343939663264613632616332332e706e67) |
Vue 应用 |
Vue + 云函数 + 静态网站部署 |
cloudbase new vue-app vue |
![](https://camo.githubusercontent.com/f254d9f5582144d097828d29e5bc70d9e9458234592cbcb9a3ee6dd770c9d6a6/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f64393464393933323639303438626562343832376232363132656435333639322e706e67) |
React 应用 |
React + 云函数 + 静态网站部署 |
cloudbase new react-app react-starter |
![](https://camo.githubusercontent.com/533ba253564262783a8d326b00b5bddef076fe5b1335187cddf713c834dc9337/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f64626332303466386663323533383736343561656139323832633664316239392e706e67) |
React Custom CRA |
React + 云函数 + 静态网站部署 |
cloudbase new react-app react-custom |
![](https://camo.githubusercontent.com/e73fe4c304758675c275ebde446fdbf3686b27637248e01344e7666d369bd560/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f34613262623534366636643539313333393736646363643161633936323337382e706e67) |
Nuxt SPA 应用 |
Nuxt SPA + 云函数 + 静态网站部署 |
cloudbase new nuxt-app nuxt-spa |
![](https://camo.githubusercontent.com/f0f283dceb2cb99534fab591b8ea39108d2cfc67cfe1554e5b060a918d82f7cc/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f33333863653735616166323265343037613032643862356630393632313264302e706e67) |
Nuxt SSR 应用 |
Nuxt SSR + 服务端部署 + 静态网站部署 |
cloudbase new nuxt-app nuxt-ssr |
![](https://camo.githubusercontent.com/d132b5ababf0f11ecd651bc5292bb22f8e5f3fb55816d73c99b7635a18a4ceaa/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f62633765336632393839666366363562326665386164333765613366363961392e706e67) |
Koa 应用 |
Koa + 服务端部署 |
cloudbase new koa-app koa-starter |
![](https://camo.githubusercontent.com/6955fd6aac85745ced953151b1352cb0eaadf70673ad5b7d8af834be55bde10b/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f63653766613036313733393961633565376637626462656635656662323964392e706e67) |
Express 应用 |
Express + 服务端部署 |
cloudbase new express-app express-starter |
![](https://camo.githubusercontent.com/f97c633aced4a6f0e884ac25e15b5c4b858a51ad1fc315cd62165be022044ba3/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f37396664643631646638623231353463636161343739333031666363353761362e706e67) |
Nest 应用 |
Nest + 服务端部署 |
cloudbase new nest-app nest-starter |
![](https://camo.githubusercontent.com/d857ce19cbc3a6bd165a49b2baa4c0a00990d4d783a5b42ff2bdf507c20b43a8/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f39623236633334356438313830623130303339353464356137623238663431662e706e67) |
Egg 应用 |
Egg + 服务端部署 |
cloudbase new egg-app egg-starter |
![](https://camo.githubusercontent.com/e48c257896476bc5e31245ba024425ddb9cfe9a247eba0cd67dc1f979f89363e/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f37623530343331643863656632396439656262383263346666326536303332632e706e67) |
Node.js 云函数示例 |
Node.js 云函数 |
cloudbase new node-app node-starter |
![](https://camo.githubusercontent.com/c04cc18fd055cbcad015b65ca8171b130d2530233d6cfc141f9a28511206bd6b/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f36333738326233303137386366353636366664643165313535303161626139622e706e67) |
PHP 云函数示例 |
PHP 云函数 |
cloudbase new php-app php-starter |
![](https://camo.githubusercontent.com/bcdbb50ea952dfa345a2a85ad7b377e35cc00b8da2ee292de4afca093b22fa7c/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f32303531306132306265393939613539343538323034616663663066653230352e706e67) |
Java 云函数示例 |
Java 云函数 |
cloudbase new java-app java-starter |
![](https://camo.githubusercontent.com/ac00ccf01e1ac84ee613920130169a3d997cdb80122c577d3e30ff67a438689c/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f32333063313135626565343330303338346661353537373130646161323932382e6a7067) |
VuePresss 网站应用 |
VuePresss + 静态网站部署 |
cloudbase new vuepress-app vuepress |
![](https://camo.githubusercontent.com/af698b174d1b9abbf4fa343ddede8fafe81c25fbe48879676b75138372c19bcc/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f38326461323539316364326165643631306437663931663964643838313933302e706e67) |
Node.js 云托管应用 |
Node.js + 云托管部署 |
cloudbase new node-app node |
![](https://camo.githubusercontent.com/41a54b26d2cb2f0abfb8720b80aacba17676d56977b787c1668891acd2701574/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f32643163343338313635343830623961373933376533623831633438373365332e6a7067) |
Aqueduct (Dart Server) 云托管应用 |
Aqueduct (Dart Server) + 云托管部署 |
cloudbase new dart-app dart |
![](https://user-images.githubusercontent.com/11473889/88882843-4f2b7780-d265-11ea-8fcf-49cb297240c7.png) |
Omi 应用 |
Omi + 云函数 + 静态网站部署 |
cloudbase new omi-app omi-starter |
![](https://camo.githubusercontent.com/6d27c3fcc370f813daf47110b6d142bcf17a4587b7085836e2401f2f97a87ca4/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f36323562626463306233373734346161653333616666343662386165656562382e706e67) |
taro 应用 |
taro + 云函数 + 静态网站部署 |
cloudbase new taro-app taro-starter |
![](https://camo.githubusercontent.com/ff7de59ac1528803bd3c3951650b4d57ca1e0c6e614e176aba57054143bb2ef1/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f34303831353765636162613038633235393464633935336234633639306165632e6a7067) |
deno 云托管应用 |
deno + 云托管部署 |
cloudbase new deno-app deno |
![](https://camo.githubusercontent.com/0de15da1ff5efab3c73767c14a50bf4045a62a7e868848aa34a6331416844af3/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f39313838333061356164333332316664303532346561656634633065346331652e706e67) |
Next SSR 应用 |
Next SSR + 服务端部署 + 静态网站部署 |
cloudbase new next-app next-ssr |
![](https://camo.githubusercontent.com/db40444513a57dadb92172cf6e62b633a45b7f2b8536d82b8e585a1fce3bf963/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f31306464383936346163323563336634306463323239613030363634643931342e6a7067) |
Go 云函数 |
Go + 云函数 |
cloudbase new go-app go-starter |
![](https://camo.githubusercontent.com/5a07392677c9550bfade21e98aab1ea68d9e577e7071b742d4d39e3ea565d455/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f39393464653733636331666339666361653633353538373933303665326236332e706e67) |
ThinkJS 应用 |
thinkjs + 云函数 |
cloudbase new thinkjs-app thinkjs-starter |
![](https://camo.githubusercontent.com/7c108bf33bba972ecddce327d94924dff3c1f1ab4ee4ebca16262a3d9cf6eaf8/68747470733a2f2f6d61696e2e71636c6f7564696d672e636f6d2f7261772f35613236323032366130646166333366366536623933346235306437336432302e6a7067) |
DarukJS 应用 |
darukjs + 云函数 |
cloudbase new daruk-app daruk-starter |
CloudBase Framework 核心贡献者计划
欢迎大家参与 CloudBase Framework 的开发工作,成为我们的贡献者,我们将会在云开发社区展示贡献者的作品和信息,同时也会有惊喜奖励。
您可以选择如下的贡献方式:
CloudBase Framework 的发展离不开社区的积极贡献,这是我们的核心贡献者列表,再次感谢大家的贡献:https://github.com/TencentCloudBase/cloudbase-framework#contributors-