Integrating font awesome with Laravel (5.X) using webpack

Laravel uses laravel-mix by default which uses webpack under the hood for frontend-tooling. We have following steps Install font-awesome using npm (I assume you already have npm configured) I am using use command from the project root directory. npm i @fortawesome/fontawesome-free-webfonts Import font-awesome scss inĀ app.scss (your main sass file) Open your app.scss and copy … Continue reading “Integrating font awesome with Laravel (5.X) using webpack”

[HowTo] Change User Model Namespace in Laravel

By default Laravel’s “User” model is place on “App” namespace. To move it to App\Models namespace we have to do the following: Move User.php to App\Models folder Update this path in config/app.php Search for “providers” key and update the path in “model” before : App\User::class, after: App\Models\User::class Generate new class path by using composer dump-autoload … Continue reading “[HowTo] Change User Model Namespace in Laravel”

[Solved] Multiple dex files define Lcom/google/ads/AdRequest$ErrorCode

This error usually is caused when a same library is referenced more than once in gradle build configurati The solution is very simple we’ve to remove the plugin that is causing the conflict. Issue the below provided two commands one after other. Change the current directory to the ionic project and then issue the below … Continue reading “[Solved] Multiple dex files define Lcom/google/ads/AdRequest$ErrorCode”

Fix Genymotion virtual devices start error

Recently I was doing some work on hybrid mobile app development. In past days I used windows for mobile app development particular Android Development with Android Studio on Android. This time I was running Ubuntu and installed Genymotion. Created virtual devices and I encountered issue which reported that “Virtualbox was somehow unable to assign IP … Continue reading “Fix Genymotion virtual devices start error”