1.2.2 • Published 3 years ago
xue-mini-vue v1.2.2
euv
why euv? because:
'vue'.split('').sort().join('') // euvsource:
'node'.split('').sort().join('') // denoQuick Start
目前还有
case没有测试
安装
npm install运行
npm run dev目前支持功能
虚拟DOMDiff更新{{ data }}or{{ data + 'test' }}or{{ fn(data) }}v-for//v-for="(item, index) in list"orv-for="(item, index) in 10"orv-for="(item, index) in 'string'"v-ifv-else-ifv-elsev-showv-htmlv-model-
@clickv-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
comment: <> (# 补充)
comment: <> (虚拟dom 不懂的可以看看我之前发的文章(相关代码相比现在有部分改动):http://www.wclimb.site/2020/03/19/simple-virtual-dom/)