Using Twitter Bootstrap with Less

New to Yii2 and the bootstrap plugin.

I have installed the yii2 advanced template

I’m interested to know if there is anywhere that best describes how to customize bootstrap in Yii2.

For example, if I wanted to change less variables in the bootstrap variables.less file, or create my own less file that overrides the bootstrap styles. HOw would it be best to do that? And to import my customized css into the project.

I don’t want to just override styles in my own css as that would create unnecessary bloat imo.


add an asset bundle with your own css, then override bootstrap classes in that css

Thanks… can I use less though?