Skip to content
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

后期会增加layout相关的功能吗?这个后台应用居多吧,有layout会方便很多。 #21

Closed
ttnkh21 opened this issue Mar 31, 2020 · 3 comments

Comments

@ttnkh21
Copy link

ttnkh21 commented Mar 31, 2020

另外,打包后的体积有点大哦,空项目,只引入依赖devui,什么都没写,打包后的体积就有30多M哦

@wangyaju
Copy link
Member

  1. layout会增加的
    @ttnkh21 体积的问题可以截个图吗

@ttnkh21
Copy link
Author

ttnkh21 commented Apr 1, 2020

1585699198(1)
1585699313(1)
去掉map文件后,也有18M,这是配置了sourcemap嘛?
我的工程没有开启啊?
1585699648(1)

@wangyaju
Copy link
Member

wangyaju commented Apr 1, 2020

@ttnkh21

  1. sourceMap在serve模式下是默认开启的,方便调试定位,这个体积说明不了问题
  2. 你现在展示的是没有经过prod配置优化的 加一下构建参数 ng build --prod
  3. 组件也支持按需引入 比如 import { ButtonModule } from 'ng-devui/button';

此issues关闭,有问题可以再开一个新的反馈,感谢。

@wangyaju wangyaju closed this as completed Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants