Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

MRFD/kirbymix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kirby Mix Plugin

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);

Modifying manifest path

Tell the plugin where the mix-manifest.json file is to be found (relative path):

c::set('kirbymix.manifest', 'assets/mix-manifest.json');

Modifying public path

When using the option setPublicPath in your webpack.mix.js, modify the following config:

c::set('kirbymix.publicpath', 'assets');

Author

Marijn Roovers marijn@mrfd.nl

Thanks to

Bastian Allgeier bastian@getkirby.com & Lukas Bestle lukas@getkirby.com

Releases

No releases published

Packages

No packages published

Languages