You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
I Created a fresh project and in main.ts did this. It did not work.
// platformBrowserDynamic().bootstrapModule(AppModule).catch(err => console.error(err))
export function main() {
return platformBrowserDynamic().bootstrapModule(AppModule);
}
bootloader(main); // this will bootstrap your app via main function
I have a few questions. All of these would be automatically answered if you could provide one basic repo which uses this library.
How to use this? What is the MainModule in the ReadMe? Is it the root module or the feature module? I tried loading both with bootloader. No success.
Does this work in angular cli projects?
Does this work in projects which don't implement angular universal. I ask this because all of the tutorials for this library are in the context of angular universal.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I found this library while searching how to load my angular bundles with
defer
attribute. Even async is fine for me.After spending 2+ hours on this library, I have an absolute zero idea how to make it work. I tried it in fresh project but no success.
Repo: https://github.com/goodmite/bootloader-not-working
I Created a fresh project and in
main.ts
did this. It did not work.Result: No async scripts in index.html
I have a few questions. All of these would be automatically answered if you could provide one basic repo which uses this library.
MainModule
in the ReadMe? Is it the root module or the feature module? I tried loading both withbootloader
. No success.The text was updated successfully, but these errors were encountered: