摘要:
很重要? 组件:把一个大项目分成多个小项目,每个小项目打包成 组件,把这些组件合起来就是完整的大项目 可复用性 <script > // 第一步,导入组件 import MyComponent from './components/MyComponent.vue'; // 第二步,注入组件 expo 阅读全文
摘要:
ref:referrence,引用 没事不要直接操作dom,就那三一般也够用了 阅读全文
摘要:
<template> <h3>表单输入绑定</h3> <form action=""> <input type="text" v-model="message"> <p>{{ message }}</p> </form> </template> <script > export default{ d 阅读全文
摘要:
侦听页面 响应式数据变化: {{ }} , data的数据 // 第一步,导入组件 // import MyComponent from './components/MyComponent.vue'; // import Parent from './components/Parent.vue'; 阅读全文
摘要:
10-16 周一 结束周末,重新开始学习 早上一节课,还摆烂了,全称看漫画,还好课不是很重要,没讲课,做题目,之后补回来就行 中午下午没课,看vue 晚上Linux,回来vue + 随便一道leetcode “汉明距离” 看了 7节vue,花了两三个钟应该是有的。诶呀 语文:春宵一刻值千金,春天的夜 阅读全文