0.0.1 • Published 6 years ago
create_vue_ui_my_project v0.0.1
学习 Vue
升级 npm 到 6
- npm -D 给开发者用
- 不加,给用户用
本地项目安装 parcel
运行: ./node_modules/.bin/parcel --no-cache
同样
运行:npx parcel --no-cache
不成功:查看 vue文档
Vue
定义全局组件:Vue.component(name,option)
组件中的插槽:slot 组件传值:props
0.0.1
6 years ago