loocus
Results
2
comments of
loocus
按需导入会匹配对应组件名称引入对应组件代码和样式代码,具体看完resolver就明白了 https://github.com/unplugin/unplugin-vue-components/blob/main/src/core/resolvers/element-plus.ts#L95 https://github.com/unplugin/unplugin-vue-components/blob/main/src/core/resolvers/element-plus.ts#L78
Refer to the source code implementation. When initializing Context, dirs and root (process. cwd()) will be merged. If you use relative paths, the merged paths will be incorrect. Therefore, you...