well, as we all know, the @CordovaXBundle/Resources/public/css/main1.css
does not work.
so we can set
assetic:
use_controller: true
in dev config, and then use assets:install to move all you css and photos in web folder. then ,you can just use the method proposed in :
http://www.craftitonline.com/2011/06/symfony2-beautify-with-assetic-and-a-template-part-ii/
And this is become a one step work, you need only run assets:install every time you make any modification. Well, if you use linux, and you use
assets:install --symlink
then you do not even need this step.
so we can set
assetic:
use_controller: true
in dev config, and then use assets:install to move all you css and photos in web folder. then ,you can just use the method proposed in :
http://www.craftitonline.com/2011/06/symfony2-beautify-with-assetic-and-a-template-part-ii/
And this is become a one step work, you need only run assets:install every time you make any modification. Well, if you use linux, and you use
assets:install --symlink
then you do not even need this step.
评论
发表评论