一、打包注意点
(1)在man.js中注释掉mode:history,这个只有在开启服务器下才有效;
(2)在webpack.prod.config.js中把输出改为output:'./dist'
二、截图
三、源码
Github:https://github.com/mywebc/todoLIst
一、打包注意点
(1)在man.js中注释掉mode:history,这个只有在开启服务器下才有效;
(2)在webpack.prod.config.js中把输出改为output:'./dist'
二、截图
三、源码
Github:https://github.com/mywebc/todoLIst
相关文章: