Skip to content

How to use deferredLoading for speeding up web #1694

Closed Answered by olegyablokov
olegyablokov asked this question in Q&A
Discussion options

You must be logged in to vote

Oh I see! After removing the part directive I need to import the generated file like a normal file: import 'package:myapp/internal/app_router.gr.dart';. Also I was importing all my pages in the app_router.dart which is unnecessary.

Maybe it's just me but I think it would be a good idea to add this info to README.

Thank you very much!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@olegyablokov
Comment options

Answer selected by Milad-Akarie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants