Roots Discourse

Add custom template directory


I’m developing a composer package (tombroucke/sage-bootstrap-components), to add blade components for some bootstrap components. After installing the package, I still have to manually add the views directory of my package to sage/config/view.php.

Is there any function/filter I can use to add my views directory to the blade paths? I took some time to dig in the sage code, but haven’t found anything useful.

Kind regards,

1 Like

We made a simular package.


Be warned: sage-flbuilder contains huge technical debt.

This topic was automatically closed after 42 days. New replies are no longer allowed.