Skip to content
This repository was archived by the owner on Feb 9, 2021. It is now read-only.

v1.0.2

Latest
Compare
Choose a tag to compare
@edcs edcs released this 24 Jun 10:11

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!