What if a vue-cli project contains both mobile-side pages and PC-side pages?

the PC page of my project has been completed, and the vue-cli
I use now needs to be a mobile page. I also plan to use vue-cli, so I want to put the mobile page in the existing PC project. I don"t want to create another project.

so I need to know how to configure webpack and how to avoid code redundancy (such as when the phone loads libraries on the PC that I don"t use)

Thank you


I think only the new directory will be created. Otherwise, there will be all kinds of troubles


https://codeshelper.com/q/10.. Have you asked the same question twice?


this is done on a multi-page shelf, because the template pages need to be separated

you can refer to the multi-page shelf I wrote earlier: https://codeshelper.com/a/11.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be5043-543a2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be5043-543a2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?