Currently sandbox uses php libraries to handle handle front end assets in a weird way:
Bootstrap is downloaded using composer
Bootstrap is symlinked post composer install/update to a bundle. THIS IS BROKEN ON WINDOWS as symlinks do not work unless script (composer in this case) is run as admin
Bundles' assets are symlinked/copied to web/bundles
These copied/symlinked files are then used by Assetic to generate its own files
The last set of files is actually included for use in browser
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Currently sandbox uses php libraries to handle handle front end assets in a weird way:
web/bundles
This is rather convoluted and also depreciated:
Aaand broken (
sonata-sandbox/app_dev.php/admin/dashboard
):(With bootstrap step skipped)
(Run composer as admin so everything is properly symlinked)
I think the correct way to handle this is to rework this whole thing to use webpack (via encore)