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

关于ngmodel架构问题 #17

Open
yangguansen opened this issue Dec 6, 2018 · 1 comment
Open

关于ngmodel架构问题 #17

yangguansen opened this issue Dec 6, 2018 · 1 comment

Comments

@yangguansen
Copy link

你好,我在用ionic+angular做项目,我看到官网的教程中,ngModule是放在app.module.ts中的,但是我看有些人的项目是每个模块都有自己的ngModule, 我想问到底该以哪种为准,谢谢

@dicallc
Copy link
Owner

dicallc commented Dec 8, 2018

这个跟懒加载有关了,你可以详细了解下,官方的demo 他可以直接一次性把所有组件都加载,但是实际开发,要考虑到懒加载提高首页加载速度

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