1.暴露配置

2.在we'bpack.config.js中修改

  在alias增加配置

  eg

  '@': path.resolve(__dirname, '../src')
react中配置路径别名

 

 

相关文章:

  • 2021-06-17
  • 2020-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-02-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2021-11-28
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案