摘要: config/index.js 属性 autoOpenBrowser 配置为true 阅读全文
posted @ 2020-09-27 17:28 lvlin241 阅读(2230) 评论(0) 推荐(0) 编辑
摘要: 修改配置config/index.js // 引入 const ip = require('ip') // 配置IP host: ip.address() 阅读全文
posted @ 2020-09-27 17:26 lvlin241 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 1. 背景 在 VUE中,我们会使用axios来存取api ,但是axios 会使用到 ES6 的 Promise ,而IE会没有无法支持,因此我们要用babel-polyfill来将ES6的语法转到ES5。 2. 安裝 babel-polyfill npm install --save babel 阅读全文
posted @ 2020-09-27 15:45 lvlin241 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 1. 安装nodejs <1> 下载并安装nodejs nodejs下载 <2> 配置镜像库(国内一般配置为淘宝的) npm config set registry https://registry.npm.taobao.org npm config get registry // 查看本地镜像库地 阅读全文
posted @ 2020-09-27 14:36 lvlin241 阅读(101) 评论(0) 推荐(0) 编辑