0

我是 VueJS 的新手。我将使用氩模板。

你能解释一下如何修复的细节吗?我尝试在 main.js 中使用氩插件。

首先,我安装了 npm 模块: element-plus(successful) 这是我的代码:

import Vue from "vue";
import ArgonDashboard from "./plugins/argon-dashboard";
...

new Vue({router,ArgonDashboard,store,render: h => h(App)}).$mount("#app");

我的浏览器提出了以下问题:

Uncaught TypeError: Object(...) is not a function at eval (index.esm.js?3fd4:1) at Module../node_modules/element-plus/lib/index.esm.js (app.js:4051 )

任何人都可以帮助。

4

0 回答 0