-
Notifications
You must be signed in to change notification settings - Fork 127
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
about the universal server #7
Comments
Yes, AppServerModuleNgFactory is generated by the AOT compilation. You have to use ngc to produce the factories. These factories will build module, components and other stuff. See package.json in my fork of this project. |
@AntoineViau
if I use ngc to produce the factories,it will not process scss files and images. |
You need to put in your scss loaders and such in the webpack config. |
in ./src/main.server.ts,why do you import AppServerModuleNgFactory but not AppServerModule ?
if I use import AppServerModule ,will it be replaced with AppServerModuleNgFactory by some tools automatically?
The text was updated successfully, but these errors were encountered: