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

feat(page): change router to dynamic import #176

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

rdlabo
Copy link
Contributor

@rdlabo rdlabo commented Aug 16, 2019

Angular 8 is able to use dynamic import at router.

old

 { path: '/test',  loadChildren: './test/test.module#TestPageModule' }

Dynamic Import

  {
    path: 'test',
    loadChildren: () => import('./test/test.module').then( m => m.TestPageModule)
  },

This pull request is change to dynamic import.
dependency #175

Thanks.

@rdlabo rdlabo changed the title feat(router): change to dynamic import feat(page): change router to dynamic import Aug 16, 2019
@mhartington mhartington merged commit fbf3627 into ionic-team:master Aug 26, 2019
@mhartington
Copy link
Member

Thanks for the PR!

@rdlabo
Copy link
Contributor Author

rdlabo commented Sep 8, 2019

@mhartington Thanks for merged! And when is this released??

Ionitron added a commit that referenced this pull request Oct 22, 2019
# [2.1.0](v2.0.0...v2.1.0) (2019-10-22)

### Bug Fixes

* **routing:** split out routes into routing module ([#181](#181)) ([b13b823](b13b823))
* **unit-tests:** allow the components to hydrate ([#173](#173)) ([4159e59](4159e59))

### Features

* **router:** change to dynamic import ([#176](#176)) ([fbf3627](fbf3627))
@Ionitron
Copy link
Collaborator

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rdlabo rdlabo deleted the dynamic branch October 26, 2019 05:34
wand1252 added a commit to wand1252/angular-toolkit-develop that referenced this pull request Aug 31, 2022
# [2.1.0](ionic-team/angular-toolkit@v2.0.0...v2.1.0) (2019-10-22)

### Bug Fixes

* **routing:** split out routes into routing module ([#181](ionic-team/angular-toolkit#181)) ([b13b823](ionic-team/angular-toolkit@b13b823))
* **unit-tests:** allow the components to hydrate ([#173](ionic-team/angular-toolkit#173)) ([4159e59](ionic-team/angular-toolkit@4159e59))

### Features

* **router:** change to dynamic import ([#176](ionic-team/angular-toolkit#176)) ([fbf3627](ionic-team/angular-toolkit@fbf3627))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants