Joined April 2014
·

Vishal Thoriya

Rajkot Area, India
·

Hi thanks for sharing knowledge i have noticed that this post is most popular among all other post on bootstrap and symfony
i am totally new to symfony2 i have question about your post why we need to do all the things like config.yml , cssembed yuicompressor can we just simply copy bootstrap css and js to resource folder and just linked to main template
e.g:
<link href="{{ asset('css/bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
<script src="{{ asset('js/jquery-1.11.0.min.js') }}" ></script>
<script src="{{ asset('js/bootstrap.min.js') }}" ></script>

i know it is stupid question for you but i am confused about that why we need to long coding and what is benefits of it ?

Thank you very much
Vishal

Achievements
1 Karma
0 Total ProTip Views