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

Installation along symfony/asset_mapper #2169

Open
artur2000 opened this issue Dec 21, 2023 · 2 comments
Open

Installation along symfony/asset_mapper #2169

artur2000 opened this issue Dec 21, 2023 · 2 comments

Comments

@artur2000
Copy link

Hi,

I started fresh project with symfony 6.4 for a web project which should serve an API at the same time.
During kikstart of this project symfony/asset_mapper has been installed.
I do not really know if I will use the asset_mapper, but I would like to try it.

The problem is now, that the swagger_ui endpoint of nelmio api doc does not work with the asset_mapper activated.
All assets for the UI deliver 404.
If I uninstall asset_mapper, the UI is fine.

The question is now, how to configure the project to get swagger_ui to work with asset_mapper installed?

@lcp0578
Copy link

lcp0578 commented Jan 23, 2024

+1 , symfony 6.4 "nelmio/api-doc-bundle": v4.18.2,
image

@lcp0578
Copy link

lcp0578 commented Feb 20, 2024

@artur2000 need run command php bin/console asset-map:compile

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