是否可以告诉Symfony2在目录bundle/frontend/
而不是bundles/<vendor>frontend/
安装bundle资产?
No, it will always use the bundle's name.
However, if VendorFrontendBundle is an application specific bundle (which I assume), I would recommend not to use a vendor. Vendors are only usefull when you want to share your bundle in multiple projects.
Furtermore, I would also suggest to just place the application specific assets in /web/assets/frontend
directly. It makes no sense to put them in a bundle.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.