批改状态:合格
老师批语:
在VUE官网提供了两种主流安装方式一种是通过CDN在线使用第二种是npm下载到本地项目中
安装完成后就可以进行使用了
// 1.创建VUE配置项let con = {//将VUE的变量全部写到data()中data() {return {//把数据返回username:"小汇享",};},};//2.创建VUE实例const app = Vue.createApp(con);//3.将实例挂载app.mount(".app");

v-text,v-html
v-bind
v-on,v-model
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号