-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add SSR #9
Comments
I can take care of this one, if nobody already on it... |
I'm working on this as well, but there's a problem with
To solve this we may need to eject webpack config from Angular CLI and applying babel, but I don't think that's a good idea only for an easter egg feature. |
Thanks @thanhpd for investigating this. You're right, ejecting from the CLI isn't the way to go. We could rather mock out these dependencies when building the SSR. We only care about angular template serialization, no need to run the actual Dialogflow SDK, server side. |
Update: I overcame this by using babel-cli to transpile
|
@thanhpd can you push your code to your repo so I can check it out? |
@manekinekko |
@thanhpd yeah! you shouldn't be messing with webpack config anymore. We've implemented a builder into the CLI (@angular-devkit/build-angular:server) you should be using that instead. Here are some resources:
|
Ok, i'm stepping down, as it seems you guys have this well under control. 😄 Cheers! |
Update: I'm trying to add Firebase functions for SSR feature but it seems
AFAIK there's no way to access |
We should be able to take advantage of the Angular SSR. See docs here.
The text was updated successfully, but these errors were encountered: