OctoberCMS plugin that supports Laravel Mix "mix()" function in Twig templates.
The Mix Helper Plugin is a valuable addition for developers working with OctoberCMS themes, streamlining the integration of Laravel Mix into their projects. This plugin provides an efficient way to utilize the mix() Twig function, making asset management simpler and more organized. With this tool, you gain the ability to enhance your workflow while ensuring that assets are compiled effectively through Laravel Mix.
By following straightforward setup instructions, users can easily install the plugin and start leveraging its features. This functionality is particularly useful for themes that require a smooth and efficient handling of assets, ensuring that everything from JavaScript to CSS is loaded seamlessly.
Custom mix() Function: Adds a specialized Twig function for accessing assets efficiently through the generated mix-manifest.json file.
Easy Setup: Installation is straightforward; simply install the plugin and enable it with minimal configuration needed to get started.
Development and Production Support: Seamlessly switch between development (yarn dev) and production (yarn prod) modes to optimize performance based on the environment.
Configurable Base URL: Optionally set a custom base URL in your configuration file to cater to different deployment scenarios for your assets.
Organized Directory Structure: The plugin provides a clear directory structure that helps locate the mix-manifest.json file and maintain an orderly project layout.
Engaged Community: With a dedicated section for reporting issues and questions, you can find support easily as you navigate through the features of the plugin.
MIT License: The plugin is open-source, licensed under MIT, which encourages community contributions and modifications for enhanced functionality.