Laravel Mix() helper doesn't work
elfeffe opened this issue · 7 comments
elfeffe commented
It tries to reference always to public path
elfeffe commented
How to use theme_mix?
elfeffe commented
I have it working, but I had to pass my theme's folder as $manifest path. theme_mix should handle it, no?
Am I using it wrong?
supryantowp commented
me too same error
Shipu commented
theme_mix('your_asset_path')
or
theme_mix('theme_namespace:your_asset_path')
or
theme_mix('theme_namespace:your_asset_path', 'your manifest directory')
as like as laravel mix helper.
elfeffe commented
@Shipu can you supply a demo theme? I think the mix-manifest.json also needs some changes
elfeffe commented
I mean webpack.mix.js
We have to make some changes there too, right?