Admin Js file extension to project

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
rohith.jayaraj
Posts: 3
Joined: 15 Nov 2023, 06:14

Admin Js file extension to project

Post by rohith.jayaraj » 29 Nov 2023, 07:25

how to extend file "npkmarket\vendor\aimeos\ai-admin-jqadm\js\apps\price.js " to Aimeos Laravel Project ? .

We have this custom package folder, so i have tried copy pasting this file to \packages\npk\themes\admin\jqadm\price.js but it didn't work.
Also tried to mention file path inside manifest.jsb2, but it didn't help either?

So can you please assist on how to extended Js file to our project ?

rohith.jayaraj
Posts: 3
Joined: 15 Nov 2023, 06:14

Re: Admin Js file extension to project

Post by rohith.jayaraj » 29 Nov 2023, 08:04

An update to this issue: Was able to find out the cause of this issue, when we extend a vue js file from vendor to our project. Both instances will run at same time which will cause conflicts and we won’t be able to see any error in console

When i tried to comment whole inside vendor folder, its working fine with our custom file

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Admin Js file extension to project

Post by aimeos » 01 Dec 2023, 12:13

Don't copy complete JS file but overwrite the function you want to change instead.
Also, never change the files in the ./vendor/ directory or you will burn in developer hell!
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply