vue组件之间各种的通信方式 1、父与子之间的通信(最简单) 2、任意两个组件之间的通信 3、Vuex 查看demo方式 # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report