动态菜单和动态路由的 antd pro

.babelrc.js 177B

123456789101112
  1. module.exports = {
  2. plugins: [
  3. [
  4. 'babel-plugin-module-resolver',
  5. {
  6. alias: {
  7. components: './src/components',
  8. },
  9. },
  10. ],
  11. ],
  12. };