svgicon.js 508 B

1234567891011121314151617
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-08-13 15:48:48
  4. * @LastEditTime: 2022-01-20 10:35:29
  5. * @LastEditors: Please set LastEditors
  6. * @Description: In User Settings Edit
  7. * @FilePath: \vue3-element-admin\src\plugins\svgicon.js
  8. */
  9. import * as components from "@element-plus/icons-vue";
  10. export default {
  11. install: (app) => {
  12. for (const key in components) {
  13. const componentConfig = components[key];
  14. app.component(componentConfig.name, componentConfig);
  15. }
  16. },
  17. };