babel.config.js 224 B

1234567891011
  1. module.exports = {
  2. presets: ["@vue/cli-plugin-babel/preset"],
  3. plugins: [
  4. ['import', {
  5. libraryName: 'vant',
  6. libraryDirectory: 'es',
  7. // 指定样式路径
  8. style: name => `${name}/style/less`
  9. }, 'vant']
  10. ]
  11. };