Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Flex-layout doesn't work properly with SSR and lazy modules #657

@atmman9001

Description

@atmman9001

Bug, feature request, or proposal:

Flex-layout adds empty stylesheets during server side rendering for lazy modules.

What is the expected behavior?

CSS shouldn't be empty.

Reproduction repo

https://github.com/atmman9001/universal-starter/ flex-layout-issue branch

What are the steps to reproduce?

  1. pull the repo
  2. checkout to flex-layout-issue branch
  3. npm i
  4. npm run build:ssr && npm run serve:ssr
  5. Go to http://localhost:4000/lazy
  6. Check style.flex-layout-ssr contains just {} - Example screenshot

Metadata

Metadata

Assignees

Labels

P1Urgent issue that should be resolved before the next re-leasebughas prA PR has been created to address this issuessr

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions