![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
文章平均质量分 80
没.
这个作者很懒,什么都没留下…
展开
-
Vue父组件与子组件间的传递
Vue父组件与子组件间的传递 1.父组件向子组件传递 通过在子组件中使用 props 来接收父组件传递来的值。 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <script src="js/vue.js" type="text/javascript" charset="utf-8"></script>原创 2021-06-01 12:35:16 · 173 阅读 · 0 评论 -
记录Vue结合Element-Ui组件库的安装与基本用法
记录Vue结合Element-Ui组件库的安装与基本用法 1. 创建工程 选择一个文件夹 cmd 创建一个名字为 hello-vue 的工程 vue init webpack hello-vue 安装依赖,需要安装 vue-router、element-ui、sass-loader、node-sass 四个插件(如果安装失败尝试使用 cnpm 安装) // 进入 hello-vue 目录 cd hello-vue // 安装 vue-router 路由 npm install vue-rout原创 2021-02-03 17:42:58 · 246 阅读 · 0 评论