iview / vue-cli-plugin-iview

iView plugin for vue-cli
MIT License
60 stars 8 forks source link

热更新失效 #6

Closed quan01994 closed 5 years ago

quan01994 commented 5 years ago

i use this command to add plugin

vue add iview

package.json

{
  "name": "hyw-member-iview",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "iview": "^3.0.1",
    "vue": "^2.5.17",
    "vue-router": "^3.0.1",
    "vuex": "^3.0.1"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^3.2.0",
    "@vue/cli-plugin-eslint": "^3.2.0",
    "@vue/cli-service": "^3.2.0",
    "@vue/eslint-config-standard": "^4.0.0",
    "babel-eslint": "^10.0.1",
    "eslint": "^5.8.0",
    "eslint-plugin-vue": "^5.0.0-0",
    "vue-cli-plugin-iview": "^1.0.6",
    "vue-template-compiler": "^2.5.17"
  }
}

http://localhost:8081/

image

image

quan01994 commented 5 years ago

我也不太懂什么原理。。。这个项目也是新项目,而我又去新建了一个项目测试了一下,又好了。。