VUE指令(内容渲染指令{{}},属性绑定指令v-bind,事件绑定指令v-on,双向绑定指令v-model,条件渲染指令v-show、v-if,列表渲染指令v-for)与过滤器,$event,
指令的概念:指令(Directives)是vue为开发者提供的模板语法,用于辅助开发者渲染页面的基本结构。vue中的指令按照不同的用途可以分为如下6大类:内容渲染指令,属性绑定指令,事件绑定指令,双向绑定指令,条件渲染指令,列表渲染指令1.内容渲染指令v-text指令的缺点:会覆盖元素内部原有的内容!性别:{{}}的专业表达是插值表达式:在实际开发中用的最多,只是内容的占位符,不会覆盖原有的内容!