serversideup.net serversideup.net

Using Laravel Mix in a WordPress Theme

If you’ve ever tried installing Webpack and configuring it from scratch, you know how hard it is. After working with Laravel and using Laravel Mix, I wanted to use it in every PHP based project. Luckily you can! What Laravel Mix does is take the pain out of configuring Webpack and provides you with an easily chainable set of build tools. Using these tools you can easily compile your CSS and Javascript assets to help create a modern...