Laravel Mix: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
Line 4: Line 4:
ALWAYS use <code>mix('js/app.js')</code> 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. <code><script src="{{ mix('js/bundle.js') }}"></script></code>
e.g. <code><script src="<nowiki>{{ mix('js/bundle.js') }}</nowiki>"></script></code>