创建资产的绝对路径
<img src="{{ app.request.getSchemeAndHttpHost() ~ asset('static/images/logo-default.png') }}" alt="Logo"/>
<!--Generates path for the file "/web/static/images/logo-default.png" -->
<img src="{{ app.request.getSchemeAndHttpHost() ~ asset('static/images/logo-default.png') }}" alt="Logo"/>
<!--Generates path for the file "/web/static/images/logo-default.png" -->