我已经安装了Symfony演示应用程序(https://github.com/symfony/demo),并尝试使用资产/加重版。我对再演的理解是:
{{ encore_entry_link_tags('css/app') }}
{{ encore_entry_script_tags('js/app') }}
我更改了一些CSS和JS代码,并在重建部分中苦苦挣扎。我已经尝试过
php bin/console assets:install
但是重新加载演示页面后,没有任何变化。
我如何重建资产?
假设您有all the necessary parts installed:
yarn encore dev
yarn encore dev --watch
yarn encore production