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

Allow UIBundle to work without vhost pointing to web folder #939

Open
fyher opened this issue Jun 16, 2017 · 0 comments
Open

Allow UIBundle to work without vhost pointing to web folder #939

fyher opened this issue Jun 16, 2017 · 0 comments

Comments

@fyher
Copy link

fyher commented Jun 16, 2017

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
@paulandrieux paulandrieux changed the title Use in mod dev no domain Allow UIBundle to work without vhost pointing to web folder Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants