吴晗君
吴晗君
我遇到的问题是打包出来的文件名类似:name0.js、name1.js。改成下面的配置就可以了: output: { chunkFilename: '[name].js' } /* webpackChunkName: "[request]" */
[预览](https://wuhanjun.github.io/Online-Resume-Editor/resumer/dist/index.html#/) [代码](https://github.com/WuHanJun/Online-Resume-Editor/tree/master/resumer)
> 这种就是应用自己的路由没匹配上,导致根节点是空的,qiankun 的流程已经正常执行结束了 指的是子应用的路由没有匹配上吗?我理解应该是匹配上了。因为子应用内路由对应的组件代码已经在执行,我console.log试过。而且路由没有变化,第一次能匹配上,第二次怎么会没有匹配上呢。
找到原因了,是[email protected]的问题,我准备搞个仓库用于你们复现,期间安装[email protected]后没有这个问题了。
[预览地址](https://wuhanjun.github.io/Online-Resume-Editor/ToDo/page2.html) [代码地址](https://github.com/WuHanJun/Online-Resume-Editor/tree/master/ToDo) WHJ
[webpack-demo](https://github.com/WuHanJun/Webpack/tree/master/webpack-demo1)Whj
[预览](https://wuhanjun.github.io/Online-Resume-Editor/resumer/dist/index.html#/)  WHJ
[预览](https://wuhanjun.github.io/Online-Resume-Editor/resumer/dist/index.html#/) [代码](https://github.com/WuHanJun/Online-Resume-Editor/tree/master/resumer) 2. 我的项目不引入第二个Vue打包出来的js文件会变小。而webpack并没有根据词法解析改变原来文件内容。所以我觉得会打包两次。 3. 作用只是到该行满后换行。并没有提供空白合并和保留回车。因为过来的数据里根本没有多个空格和换行符。 WHJ
[预览地址](https://wuhanjun.github.io/Online-Resume-Editor/No-Backend/page2.html) [代码地址](https://github.com/WuHanJun/Online-Resume-Editor/tree/master/No-Backend) 还有一个问题是输入框内的临时数据存在localstorage中,如果同台电脑不同用户登陆都能看到输入框内的临时数据。 WHJ 大家新年快乐。
这个问题解决了吗?