php bin/console assets:install
Install bundle's web assets under a public directory
Usage
assets:install [--symlink] [--relative] [--no-cleanup] [--] [<target>]
Arguments
target The target directory
Options
--symlink Symlink the assets instead of copying them
--relative Make relative symlinks
--no-cleanup Do not remove the assets of the bundles that no longer exist
Help
The assets:install command installs bundle assets into a given
directory (e.g. the public directory).
php bin/console assets:install public
A "bundles" directory will be created inside the target directory and the
"Resources/public" directory of each bundle will be copied into it.
To create a symlink to each bundle instead of copying its assets, use the
--symlink option (will fall back to hard copies when symbolic links aren't possible:
php bin/console assets:install public --symlink
To make symlink relative, add the --relative option:
php bin/console assets:install public --symlink --relative