This repository was archived by the owner on Feb 9, 2021. It is now read-only.
Adds a path
tag to the CSS and JS template tags which can be set to the path where your built assets are publicly located. For example:
{{ laravel_mix:css tag="true" absolute="true" src="app" path="/" }}
Will generate:
<link rel="stylesheet" href="//localhost:3000/css/app.css" />
Where as:
{{ laravel_mix:css tag="true" absolute="true" src="app" }}
Will generate:
<link rel="stylesheet" href="//localhost:3000/site/themes/theme-name/css/app.css" />
Enjoy!