Skip to content

casyalex/vueSPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vueSPA


vue学习笔记

5月3日

v-if v-else 跟布尔值变量绑定,用来决定是否显示标签

v-show 基本相同,区别是会在html渲染,只是css设置display为none

v-for 迭代展示变量,常与排序一起用

v-text 相对插值的方式表现更友好, v-html能解析字符串的html标签(只有确保绝对安全才用)

5月4日

v-on 绑定事件,快捷方式@

v-model 绑定数据

v-bind 绑定标签,快捷方式:

v-cloak 优化加载闪烁

v-pre 原样输出

v-once 只渲染一次

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages