Whenever i try to run npm run production and npm run watch in pacakages/webkul/admin, packages/webkul/ui and packages/webkul/shop, The following error occurs.How to solve it
Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
Custom theme issue
i have applied my new custom theme but in the backend i was just checking the default theme options and mistakenly default theme is applied from channel. i want to reapply my custom theme , i changed default theme to my custom theme but it wont reflect to my home page. please help
RK REZA last edited by
Can you provide screenshot?
I'm attaching home page screenshot and admin panel
In master.blade.php all my custom theme css and js are applied.
but when i inspect my home page default CSS rendering there.
rahul last edited by rahul
While creating your theme, you have to give 'assets_path' (in config folders themes.php file), your all css, js & images will be at this path.
Kindly check this & make sure that all of your asset is at right location.
If still issues occur, then attach screenshot your 'theme.php' file & themes directory structure.
@rahul said in Custom theme issue:
themes directory structure.
I'm attaching a screenshot of themes.php file.
Naresh-webkul last edited by
@shreyasi , can you please check the css file link in your master file .
and you should check the following link also :
there is another link that will help : https://forums.bagisto.com/topic/57/how-can-i-change-theme-and-write-own-html-for-front-end-section-not-the-admin-panel
and alsio i'am attaching some screenshots .
ganeshfabrotech last edited by
I found this post very interesting and informative. Thank you for sharing your special thoughts with us. I definitely share this with my peeps.
xoilac79 last edited by
Exactly what I'm looking for, straight foward answer too. Appreciate the help guys!