babel.config.js 233 B

123456789
  1. module.exports = {
  2. presets: ["@vue/app", "@vue/babel-preset-jsx"],
  3. plugins: [
  4. [
  5. "import",
  6. { libraryName: "ant-design-vue", libraryDirectory: "es", style: true }
  7. ] // `style: true` 会加载 less 文件
  8. ]
  9. };