tobe-fe-dalao / fast-vue3

Vue3+Vite+Ts+Pinia+....一个快速开发vue3的模板框架,快速搭建前台应用
https://tobe-fe-dalao.github.io/fast-vue3/
MIT License
1.81k stars 447 forks source link

ui库换成elementui 报错 #36

Closed zhoyue closed 2 years ago

zhoyue commented 2 years ago

import { VueUseComponentsResolver, ElementPlusResolver } from 'unplugin-vue-components/resolvers' export const AutoRegistryComponents = () => { return Components({ ElementPlusResolver({ importStyle: 'sass' }), VueUseComponentsResolver(), ], })

fonghehe commented 2 years ago

贴一下报错信息

fonghehe commented 2 years ago

参考这个可解决:https://element-plus.org/zh-CN/guide/quickstart.html#%E7%94%A8%E6%B3%95