title: Symfony 4 - Use bootstrap 4 with Select2
body: <p>in my symfony 4 project I use Select2 for some of my fields: <a href="https://select2.org/" rel="nofollow noreferrer">https://select2.org/</a></p>
  
  <p>So, I've this : </p>
  
  <p><a href="https://i.stack.imgur.com/K9nFY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K9nFY.png" alt="enter image description here"></a></p>
  
  <p>So, in my form, I've :</p>
  
  <pre><code>-&gt;add('user', EntityType::class, [
                  'class' =&gt; User::class,
                  'label' =&gt; 'Agent',
                  'placeholder' =&gt; "Agent",
                  'choice_label' =&gt; 'fullName',
                  'choice_value' =&gt; 'fullName',
                  'attr' =&gt; [
                      'class' =&gt; 'js-example-basic-single',
                  ]
              ])
  </code></pre>
  
  <p>And in my view :</p>
  
  <pre><code>&lt;link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/css/select2.min.css" rel="stylesheet"/&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
          $('.js-example-basic-single').select2({
              placeholder: 'Choisissez un agent',
              allowClear: true,
              language: 'fr'
              });
      &lt;/script&gt;
  </code></pre>
  
  <p>I would like to use bootstrap 4 with this field, so that it has the same design as the other fields.</p>
  
  <p>So, I found this link : <a href="https://github.com/ttskch/select2-bootstrap4-theme" rel="nofollow noreferrer">https://github.com/ttskch/select2-bootstrap4-theme</a>
  Is it a good link ?</p>
  
  <p>It's the first time I use npm, so I executed the following command :</p>
  
  <blockquote>
    <p>npm install @ttskch/select2-bootstrap4-theme</p>
  </blockquote>
  
  <p>But I dont see where are the css links, to import them in my view</p>