xue-vue2
v2.1.5
Published
a simple vue
Readme
euv
why euv? because:
'vue'.split('').sort().join('') // euvsource:
'node'.split('').sort().join('') // denoQuick Start
目前还有
case没有测试
安装
npm install运行
npm run dev目前支持功能
- [x]
虚拟DOM - [x]
Diff更新 - [x]
{{ data }}or{{ data + 'test' }}or{{ fn(data) }} - [x]
v-for//v-for="(item, index) in list"orv-for="(item, index) in 10"orv-for="(item, index) in 'string'" - [x]
v-ifv-else-ifv-else - [x]
v-show - [x]
v-html - [x]
v-model - [x]
@clickv-on:click事件(支持绑定其他事件)@click="fn('a',$event)"@click="fn"@click="show = false"@click="function(){console.log(1)}" - [x]
methods方法 - [x]
computed计算属性 - [x]
watch监听 - [x]
beforeCreate、created、beforeMount、mounted、beforeUpdate、updated - [x]
:class - [x]
:style - [x]
$nextTick
