Admin Vue Components

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!
jafo66
Posts: 26
Joined: 06 Mar 2024, 04:42

Admin Vue Components

Post by jafo66 » 23 Apr 2024, 21:48

I'm looking to copy and implement a similar Vue component like the property-table.js component used in the Customer/property subpanel within the admin screens.

I copied the .js file from within the admin/jqadm/js/components directory and placed it inside of the following trying to see what would work:
- /theme directory of my extension
- /js/components directory of my extension (I created that folder)
- in the /template directory along with the other list.php & item.php files files for the area.

None of those worked so could you let me know where the components should reside?

Thanks!

jafo66
Posts: 26
Joined: 06 Mar 2024, 04:42

Re: Admin Vue Components

Post by jafo66 » 24 Apr 2024, 02:53

Should I be using this: https://aimeos.org/docs/latest/admin/jqadm/customize/

If so, how do I include all .js files in a directory?

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

Re: Admin Vue Components

Post by aimeos » 25 Apr 2024, 07:21

You have to add all new files to the manifest.jsb2 file of your extensions like explained in the article you've linked. Only the custom.js file is automatically included.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply