我想在 CDN 上托管我所有的资产(img、css、js、...),没有 aws!
如何使用 liipimagineBundle 做到这一点?
谢谢 !
我想在 CDN 上托管我所有的资产(img、css、js、...),没有 aws!
如何使用 liipimagineBundle 做到这一点?
谢谢 !
阅读以下:
https://symfony.com/blog/new-in-symfony-2-7-the-new-asset-component
https://symfony.com/doc/current/components/asset/introduction.html
https://symfony.com/doc/current/best_practices/web-assets.html
和资产文档。
查看 LiipImagineBundle,它们似乎只是提供了您在 twig 中使用的过滤器/功能,因此您可以正常调用两者。
如果此回复不够或不清楚,请告诉我,我将对其进行编辑以填写我可以填写的内容。
谢谢你。
如果不编写自定义加载器、管理器、工厂,这是不可能的......我使用了以下版本:https ://github.com/flug/imagine-bundle