-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为了方便新手,建议一下 #6
Comments
还要配置按需加载 |
是的,必须一条龙服务。 另外,我用在一个很简单的表单页面中,怎么开发模式下就突破2048kB限制了?有个只有两个字段的表单(用户名和密码),是不是form组件比较吃空间? |
试一下在dev命令上加-m参数,form只要没有用本地的城市数据就不吃空间,dev命令运行久了空间会越来越大,实际占用空间大小可以看build之后的。build之后可以用工具自带的依赖分析看哪个页面占用空间比较大的页面做按需加载。 |
我当时用产品模式build了一下,能缩小到100xKb,主要是我就才做了两三个Page,怕后面扛不住 |
没问题,我们落地了很大产品,很多页面配合分包,都没有问题 |
必须要安装设置好remax的less插件才能成功,这个是必要条件,不然跑下去报错。大家不用每次都踩一下坑
The text was updated successfully, but these errors were encountered: