Skip to content

docs: update documentation for universal - #7803

Merged
hansl merged 2 commits into
angular:masterfrom
MarkPieszak:universal
Oct 6, 2017
Merged

docs: update documentation for universal#7803
hansl merged 2 commits into
angular:masterfrom
MarkPieszak:universal

Conversation

@MarkPieszak

Copy link
Copy Markdown
Contributor

Replacement for PR #7796

Update documentation to show TypeScript webpack build for node server, as well as a few gotchas & important things to have setup to have it bundle normal applications properly.

cc/ @vikerman

@hansl

hansl commented Sep 24, 2017

Copy link
Copy Markdown
Contributor

I'll wait for @vikerman 's approval before merging this, but LGTM.

@vikerman vikerman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one change


* Lazy loading is not yet supported, but coming very soon. Currently lazy loaded routes aren't available for prerendering, and you will get a `System is not defined` error.
* The bundle produced has a hash in the filename from webpack. When deploying this to a production server, you will need to ensure the correct bundle is required, either by renaming the file or passing the bundle name as an argument to your server. No newline at end of file
- Http calls will be executed **twice**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is the place to mention all of Universal Gotchas. We should just mention any Universal CLI gotchas if any,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed! 👍

@hansl
hansl merged commit eed13cf into angular:master Oct 6, 2017
dond2clouds pushed a commit to d2clouds/speedray-cli that referenced this pull request Apr 23, 2018
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants