# 创建dist目标文件夹 mkdir -p dist # 复制html到该文件 cp index.html dist/ # 复制echarts到该文件 cp ./node_modules/echarts/dist/echarts.js dist/