1.安装 vue-loader vue-template-compiler 依赖 2.修改 webpack.config.js 配置 3.在 src 目录下创建 App.vue 4.在 main.js 中导入 App.vue 5.打包