webpack.config.js 372 B

1234567891011121314
  1. const AutoImport = require('unplugin-auto-import/webpack')
  2. const Components = require('unplugin-vue-components/webpack')
  3. const { ElementPlusResolver } = require('unplugin-vue-components/resolvers')
  4. module.exports = {
  5. plugins: [
  6. AutoImport({
  7. resolvers: [ElementPlusResolver()],
  8. }),
  9. Components({
  10. resolvers: [ElementPlusResolver()],
  11. }),
  12. ],
  13. }