Skip to content

Uncaught (in promise) TypeError: t is not a function #211

Open
@coderlkf

Description

我的vue是最新的3.2.13,按照文档,我安装了vue-awesome
npm install vue-awesome --force
然后在main.js中导入,并添加组件

import 'vue-awesome/icons'
import Icon from 'vue-awesome/components/Icon'

const app = createApp(App)
app.component('v-icon', Icon)
app.mount('#app')

但当我使用的时候,控制台输出了错误
Uncaught (in promise) TypeError: t is not a function

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions