网站建设平台信息中国建设银行国际互联网站
文章目录
- 1.安装编译命令
 - 2.低版本兼容
 - 3.vue2响应式数据
 - 3.1.data定义
 - 3.2.双向数据绑定v-model
 - 3.3.单向数据绑定v-bind
 
- 4.方法methods
 - 5.子组件向父组件传值
 - 6.父组件向子组件传值
 
1.安装编译命令
命令行工具
vue create zhiliaoplugins8824barcodebatch
cd zhiliaoplugins8824barcodebatch
#运行
npm run serve 
#编译 
npm run build  
 
编译选项
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig