无法将eva-icons安装到Vue-cli项目

时间:2019-11-13 06:59:33

标签: vue.js vue-component

我已经在我的Vue-cli项目中安装了eva-icons,但是它不起作用。我在做什么错了?


main.js:

import Vue from 'vue'
import App from './App.vue'
import * as eva from 'eva-icons'

Vue.config.productionTip = false
Vue.use(eva)

new Vue({
    eva,
  render: h => h(App)
}).$mount('#app')

package.json:

  "dependencies": {
    "core-js": "^3.3.2",
    "eva-icons": "^1.1.2",
    "vue": "^2.6.10",
    "vue-router": "^3.1.3",
    "vuemerang": "^1.9.2",
    "vuex": "^3.0.1"
  }

}

0 个答案:

没有答案