Sep 15, 2018
0
Level 4
Js code in blade files
I'm using datatables for my project, and I'm wondering how bad is it if I leave datatables configuration js code in blade file (I'm using server side processing so access to named routes would be significant). I know there are libraries that can export routes to js files, but this is really simple project and I have datatables on maybe 3 places, so I think it would be an overhead. I'm interested to hear your opinions?
Please or to participate in this conversation.