title: JS and CSS file for each view Phoenix Elixir
body: <p>I am finding few ways to get my work routine good with Phoenix as I have with rails, There are some perspectives which I am looking in Phoenix are.</p>
  
  <p>1: In rails, I have my controller and my view, also the CSS and JS files alongside, When I want to include CSS files only in one relevant view, I only do as </p>
  
  <pre><code>&lt;%= yield :head %&gt;
  </code></pre>
  
  <p>and In my View file, I only do </p>
  
  <pre><code>&lt;% content_for :head do %&gt;
    &lt;%= stylesheet_link_tag "views/index/landing.css" %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>That's it. My CSS file is only loading for my relevant view.</p>
  
  <p>2: For JS, I have application.js file in which I included my other libs and in the end, I have admin.js in which I have included my every other file as </p>
  
  <pre><code>//= require jquery
  //= require dataTables/jquery.dataTables
  //= require jquery_ujs
  //= require bootstrap.min
  //= require admin/admin.js
  </code></pre>
  
  <p>admin.js.coffee file</p>
  
  <pre><code>#= require admin/sign_up.js.coffee
  #= require admin/company.js.coffee
  #= require admin/user.js.coffee
  </code></pre>
  
  <p>3: For every JS file What I am doing is, e.g for Signup view's JS file I have done as under, in the very end of the file, </p>
  
  <pre><code>window.initializeSignUp = -&gt;
    onSignUp()
  </code></pre>
  
  <p>after this What I only need in my sign up view is </p>
  
  <pre><code>&lt;script&gt;
    $(document).ready(function () {
      window.initializeSignUp();
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>Now it's only calling that method of Signup and everything is working fine.
  On the other hand, I love Elixir it's a very good and lovable language to work in, BUT whenever I start project in it, I already got afraid of Brunch and how Assets are going to be handled.</p>
  
  <p><strong>for those who will read the question and will just downvote without even understanding the main issue here</strong>: Am a newbie to Phoenix for creating an APP with views and assets, etc.</p>
  
  <p>I just need a clear and correct answer to work with Phoenix without using brunch or any web-pack solution, But a normal way, Is that possible in possible? </p>