title: Laravel Plus Reactjs server Side rendering plus Less and ant Design
body: <p>First i'm sorry if i did not tag the topic correctly. So I have  a frontend app built with Reactjs, ant design and less. And i am using laravel on  API basis. The issue is this laravel needs csrf token to authenticate the user and since they on different servers it difficult. I am stuck at this point also since they on localhost i am getting issues with the request methods. <code>Post Method</code> request from the client server to the goes through <code>options</code> method before getting to the post method of the endpoint 
  ie <code>axios.post('http://127.0.0.1:8000/api/auth/login)</code>
  It will go to options method first before going to post. Is this a cors error if yes how do i handle cors.</p>
  
  <p>Secondly if the above is a wrong practice, I have tried laravel preset for reactjs but to get less running with mix is difficult as  most of ant design customization are done in less so I will really appreciate any assistance concerning this issue. </p>
  
  <p>How to setup either mix.js or Client/ server side rendering </p>