要求:
对数据进行模糊查询
先引入vue.js文件
<script type="text/javascript" src="../js/vue.js"></script>
准备一个容器
<div id="root">
<h2>宿舍成员</h2>
<input type="text" placeholder="请输入名字">
</div>
写Vue之前的准备:
<script type="text/javascript">
Vue.config.productionTip = false