apicloud 的avm 看介绍 很不错
https://docs.apicloud.com/apicloud3/index.html
最近apicloud 退出了新的 基于avm的云编译3.0引擎 感觉不错
通过看文档来看要比hbuild的uniapp要更加方便一些,至少在很多理论上不用太多的转换,也许是因为我在uniapp上已经感受到了快速开发的乐趣。
简单摘录 avm的特点
```
<template>
<view>
<view class="header">
<text>{this.data.title}</text>
</view>
<view class="content">
<text>{this.data.content}</text>
</view>
<view class="footer">
<text>{this.data.footer}</text>
</view>
</view></template><style>
.header {
height: 45px;
}
.content {
flex-direction:row;
}
.footer {
height: 55px;
}</style><script>
export default {
name: 'api-test',
apiready(){
console.log("Hello APICloud");
},
data(){
return {
title: 'Hello App',
content: 'this is content',
footer: 'this is footer'
}
}
}</script>
```
.stml的dsl式定义让apicloud的开发速度可以飙升,再也不要多考虑什么vue多页面了