引入了 element-plus,使用了 @
element-plus/nuxt
resolveComponent 的参数想要使用后端返回的 ElButton 或 ElSelect,生成动态组件,但是后端返回的必定是变量,
所以无法使用
必须将 element-plus 所有的组件在 nuxt.config 里的 components 配置成 global: true,
但是只看到配当前项目里目录的,如'~/components' 没有配 node_module 包里的,请问该如何做,各位大佬
相关 issue
https://github.com/nuxt/nuxt/issues/14036#issuecomment-1397340463