title: How to include Javascript files into shopware5 theme
body: <p>I am unable to add javascript files to my first Shopware5 theme.  I tried the following method given in one of online articles.
  <a href="https://developers.shopware.com/designers-guide/theme-startup-guide/" rel="nofollow">https://developers.shopware.com/designers-guide/theme-startup-guide/</a> 
  I added my js files into the array on Theme.php file and upload javascript files to the ‘frontend/_public/src/js’ </p>
  
  <pre><code>/** @var array Defines the files which should be compiled by the
  javascript compressor */
  protected $javascript = array(
  'src/js/jquery.my-plugin.js'
  );
  </code></pre>
  
  <p>However the above array was not avilable on my Theme.php file but I added my js files into the array and tried loading it on my theme. I cleared all my caches when I checked the site. </p>