How to modify the configuration of vue-cli to create multiple pages

vue-cli scaffolding, how to modify the configuration to achieve multi-page routing?
one route for H5 and one route for PC pages?

Mar.11,2021

the one answered upstairs is webpack1, but now the version of webpack cannot be used. I upgraded it. You can see my warehouse for details. https://github.com/JayZangwil.


an article collected a long time ago, You can refer to http://www.cnblogs.com/fengyu.
warehouse address: https://github.com/breezefeng.


Why not put the two ends together separately?

Menu