写一个较为强大的Vue,支持虚拟DOM、diff更新以及
euv
why euv? because:
'vue'.split('').sort().join('') // euv
source:
'node'.split('').sort().join('') // deno Quick Start
目前还有
case没有测试
安装
npm install
运行
npm run dev
目前支持功能
虚拟DOM
Diff更新
{{ data }} or {{ data + 'test' }} or {{ fn(data) }}
v-for // v-for="(item, index) in list" or v-for="(item, index) in 10" or v-for="(item, index) in 'string'"
v-if v-else-if v-else
v-show
v-html
v-model
@click v-on:click 事件(支持绑定其他事件) @click="fn('a',$event)" @click="fn" @click="show = false" @click="function(){console.log(1)}"
methods 方法
computed 计算属性
watch 监听
beforeCreate、created、beforeMount、mounted、beforeUpdate、updated
:class
:style
$nextTick
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。