victoire
victoire copied to clipboard
Allow UIBundle to work without vhost pointing to web folder
Description
When Victoire is setup without a proper vhost that match the web folder, the assets generated with bin/console victoire:ui:fetchAssets
command do not respect the directory path:
e.g.
http://my-website.dev/app_dev.php/bundles/victoireui/bower_components/jquery/dist/jquery.js
instead of
http://my-website.dev/web/app_dev.php/bundles/victoireui/bower_components/jquery/dist/jquery.js
Resolution Ideas
The simple fix is to define a proper vhost, but to rapidly test Victoire it would improve DX to do not be forced to declare a vhost, this is confusing because Symfony itself do not require it.
Related to
Bundle | -- | -- | -- |
---|---|---|---|
Analytics | Page | ; | |
Blog | Query | ||
BusinessEntity | Seo | ||
BusinessPage | Sitemap | ||
Core | Template | ✔ | |
Criteria | Twig | ✔ | |
Filter | User | ||
Form | ViewReference | ||
I18n | Widget | ||
Media | WidgetMap | ||
UI |