Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 628 Bytes

faq.md

File metadata and controls

23 lines (14 loc) · 628 Bytes

Frequently asked questions

How do I get the route name from the template?

There is a build-in variable routeName, so you can just use it in your templates {{ routeName }}

Is @import supported in .scss/.sass files?

Yes, just provide a path related to "app.assets" directory. Ex: @import './styles/variables';

How to add custom functions or filters for twig?

Just add an additional .js file in your project and provide the path in web-boost config file. See details here