Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动出现错误,识别不了vue中的组合 #99

Open
gavin-james opened this issue Jan 5, 2022 · 1 comment
Open

启动出现错误,识别不了vue中的组合 #99

gavin-james opened this issue Jan 5, 2022 · 1 comment

Comments

@gavin-james
Copy link

[1] ERROR in src/views/zip/Index.vue:74:45
[1] TS2305: Module '"../../../node_modules/vue/dist/vue"' has no exported member 'onMounted'.
[1]     72 | <script lang="ts">
[1]     73 |
[1]   > 74 | import { defineComponent, reactive, toRefs, onMounted } from 'vue'
[1]        |                                             ^^^^^^^^^
[1]     75 | import { getArticles } from '@/apis/articles'
[1]     76 | import { ArticleModel } from '@/model/articleModel'
[1]     77 | import { formatJson } from '@/utils'
@lyJava
Copy link

lyJava commented May 22, 2022

同样的错误,还有相关插件组件的冲突,解决好冲突重新npm install提示找不到element-plus/packages/theme-chalk/src/index错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants