Has anyone ever tried to quote element ui and iView on demand at the same time?

the project needs to use both element and ivew, but for optimization, select on-demand reference and find that both plug-ins need to modify the same file. Has anyone used it?

element needs to be modified in .babelrc file

{
  "presets": [["es2015", { "modules": false }]],
  "plugins": [
    [
      "component",
      {
        "libraryName": "element-ui",
        "styleLibraryName": "theme-chalk"
      }
    ]
  ]
}

iview needs to be modified in .babelrc file

{
  "plugins": [["import", {
    "libraryName": "iview",
    "libraryDirectory": "src/components"
  }]]
}

modifies the same code in the same file. Has anyone ever tried to reference two controls on demand at the same time? how should this file be modified?

Feb.09,2022

finds the answer and quotes element and iview, to modify .babelrc to:

{
  "presets": [
    [
      "env",
      {
        "modules": false,
        "targets": {
          "browsers": [
            "> 1%",
            "last 2 versions",
            "not ie <= 8"
          ]
        }
      }
    ],
    "stage-2"
  ],
  "plugins": [
    "transform-vue-jsx",
    "transform-runtime",
    [
      "import",
      {
        "libraryName": "iview",
        "libraryDirectory": "src/components"
      }
    ],
    [
      "component",
      {
        "libraryName": "element-ui",
        "styleLibraryName": "theme-chalk"
      }
    ]
  ]
}

Why use two frames at the same time? You can use your own related UI components

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e71625-355.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e71625-355.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?