Note: A Laravel Mix plugin for Kirby 3 can be found here.
This plugin is made for Kirby V2 in combination with Laravel Mix. This plugin extends the use of the Kirby js()
and the css()
helper in combination with the Laravel Mix mix.version()
option. To enable the plugin, use the following line in your config.php
:
c::set('kirbymix', true);
Tell the plugin where the mix-manifest.json
file is to be found (relative path):
c::set('kirbymix.manifest', 'assets/mix-manifest.json');
When using the option setPublicPath
in your webpack.mix.js
, modify the following config:
c::set('kirbymix.publicpath', 'assets');
Marijn Roovers marijn@mrfd.nl
Bastian Allgeier bastian@getkirby.com & Lukas Bestle lukas@getkirby.com