This topic created in 2468 days ago, the information mentioned may be changed or developed.
3 replies • 2020-02-16 18:14:56 +08:00
 |
|
打包两个,然后交给 nginx 去判断。
|
 |
|
if (ua ==='pc'){ import('./pc').then(xxx) }else if(us==='mobile'){ import('./mobile').then(xxx) }
|
 |
|
动态载入呗,通过新建 script 元素这样。
|