Laravel Mix: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
iwu
 
mNo edit summary
Line 2: Line 2:




ALWAYS use mix('js/app.js') to refer to assets managed via Laravel Mix
ALWAYS use <code>mix('js/app.js')</code> to refer to assets managed via Laravel Mix
in HTML/Blade files
in HTML/Blade files
e.g. <script src="{{ mix('js/bundle.js') }}"></script>
e.g. <code><script src="{{ mix('js/bundle.js') }}"></script></code>




Navigation menu