This repository was archived by the owner on Feb 9, 2021. It is now read-only.
Releases: edcs/laravel-mix-statamic
Releases · edcs/laravel-mix-statamic
v1.0.2
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!
v1.0.1
Adds Blade template support thanks to @MattiasMediaempire. Check out the docs here:
https://github.com/edcs/laravel-mix-statamic#using-with-laravel-blade-instead-of-antlers
First Release
💫 First Release 💫
First release of this Statamic add-on - hope y'all find it useful!