一、打包注意点

(1)在man.js中注释掉mode:history,这个只有在开启服务器下才有效;

(2)在webpack.prod.config.js中把输出改为output:'./dist'

二、截图

iview-cli搭建,一个简单的todoList

三、源码

Github:https://github.com/mywebc/todoLIst

相关文章:

  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2019-09-11
  • 2021-11-04
  • 2021-06-18
猜你喜欢
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
  • 2021-12-18
  • 2021-08-12
  • 2022-12-23
  • 2022-01-19
相关资源
相似解决方案