I got an error: "cannot find module" (on my terminal). After the theme installation, I inserted require(`${__dirname}\themes\tailwind\webpack.mix.js`); on the webpack.mix.js root folder and run npm install and npm run dev. Please Help, what am I missing?
I guess you are using "Laravel Themer v1.7" on the latest version of the Laravel framework. The latest version of Laravel no longer uses webpack. It is using Vite. So, you should try the latest "Laravel Themer v2" package, which is now migrated to Vite.
I think you have not installed the package correctly. Watch video again and re-install it. If you still face this error. Please let me know what steps you have followed to install it.
Nice work! I would like to use same .scss file for all themes, but using a different _variables boostrap file for each theme. Is there a way to do that?
Hello, sir thanks for this beautiful package and video. I am new to laravel. I try it. It is good on the localhost but the problem on the host. it does not work on the host computer. please guide me on what should I do. Thanks & Regards
Hello sir if I want to change the theme from backend then how can i do this..? In this case you change the theme from config.php file but if i want to apply theme switcher like wordpress then how can I do this?
This is a very good question. For that, from the admin panel on activating a theme store that theme name in the cache. Now create a new middleware, and in this middleware fetch the theme name from the cache and set this theme using `Theme::set('theme-name');` method. Middleware code eg: ``` $theme = Cache::get('theme'); if($theme) { Theme::set($theme); } ``` If I reach 1k likes on this video, then I may create a video tutorial on this topic as well.
I have already created a series on setting up Web Development Environment for Ubuntu system. I hope you will like that. ru-vid.com/group/PL1TrjkMQ8UbUsk2YD-gJ_OfJWi_pIJ5BV