To composer.json
:
{
"require": {
"pv/statics-bundle": "*@dev"
},
"repositories": [
{
"type": "vcs",
"url": "git@github.com:pvolok/PvStaticsBundle.git"
}
]
}
To AppKernel
:
new Pv\StaticsBundle\PvStaticsBundle(),
Paths must be specified by two ways:
- Absolute:
@MyCoolBundle/js/file.js
- Relative:
./dir/file.js
Include:
// #include './file.js';
// #include './tpl.soy';
// #include './style.less';
Depend (files included in this files will not be included in current):
// #depend '@MySiteBundle/js/global.js';
// #depend '@MySiteBundle/js/global.less';
Include:
@import './bootstrap.less';
Only standard stuff.
TBD