ES6:1、导入模块
a、 import ‘模块文件地址’
b、import 组件 from ‘模块文件地址’
2、导出模块
export default .......
转载于:https://www.cnblogs.com/LSSSunshine/p/6547214.html