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

swagger-ui-css-resource-not-found-in-production-mode #174

Closed
jagdishjadeja opened this issue Apr 16, 2020 · 9 comments
Closed

swagger-ui-css-resource-not-found-in-production-mode #174

jagdishjadeja opened this issue Apr 16, 2020 · 9 comments

Comments

@jagdishjadeja
Copy link

in productin mode css is not loading

https://stackoverflow.com/questions/60082388/nestjs-swagger-ui-css-resource-not-found-in-production-mode

I am facing same issue as this link

@scottie1984
Copy link
Owner

Hi,

Does nestjs use webpack? Same issue with CSS not loading was resolved in webpack using the following solution #90 (comment)

Thanks
Stephen

@jagdishjadeja
Copy link
Author

Thank you for response
I have already checked that issue
I am not using webpack only core nest and nodejs

@scottie1984
Copy link
Owner

scottie1984 commented Apr 16, 2020 via email

@jagdishjadeja
Copy link
Author

Hi
here is my code repo https://github.com/jagdishjadeja/nest-swagger-demo
here is url where app is hosted https://swagger-demo.now.sh/api/

@scottie1984
Copy link
Owner

scottie1984 commented Apr 17, 2020 via email

@jagdishjadeja
Copy link
Author

is there any other option other than this?

@scottie1984
Copy link
Owner

Not that I am aware off - I am open to PRs or ideas for how to solve from any Webpack or NestJS experts :)

@jagdishjadeja
Copy link
Author

Like editing index.html for swagger ? and adding another url/path of css file ?

@scottie1984
Copy link
Owner

scottie1984 commented Apr 21, 2020 via email

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