Closed elfeffe closed 4 years ago
How to use theme_mix?
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?
me too same error
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.
@Shipu can you supply a demo theme? I think the mix-manifest.json also needs some changes
I mean webpack.mix.js We have to make some changes there too, right?
@elfeffe i have plan to share demo app. in your mix add full path of theme asset.
It tries to reference always to public path