Skip to content
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

styleSheetFile works on dev mode but not in production #122

Open
woj1965 opened this issue Aug 5, 2021 · 1 comment
Open

styleSheetFile works on dev mode but not in production #122

woj1965 opened this issue Aug 5, 2021 · 1 comment

Comments

@woj1965
Copy link

woj1965 commented Aug 5, 2021

Describe the bug
When I run the application in dev mode (ng serve) the styleSheetFile works perfectly, but after build and publish the style isn't inserted on page.

To Reproduce
Just acting on print button.

Expected behavior
The external style be included on page:

Screenshots
This is in the dev mode (ng serve)
image

This is in the production & published
image

Ngx-Print Version
1.2.1

Desktop (please complete the following information):

  • OS: Windows 10, MacOS Big Sur
  • Browser: safari, opera, chrome, edge, firefox
  • Version: many versions

Additional context
Angular: 5.2.9
Node: v8.15.0

@woj1965 woj1965 changed the title styleSheetFile works on dev mode but not ind production styleSheetFile works on dev mode but not in production Aug 5, 2021
@MohRaouf
Copy link

same here, any new ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants