MohmmedAshraf / laravel-translations

Laravel Translations UI package provides a user-friendly interface for managing translations in your Laravel application. It simplifies tasks such as adding, editing, deleting, and exporting translations. The package also includes a handy search feature and the ability to invite collaborators for easy translation management
MIT License
649 stars 91 forks source link

Fix asset paths for non-root project setups #138

Open vzambon opened 6 days ago

vzambon commented 6 days ago

Replaced hardcoded asset paths with asset() helper to ensure assets are loaded correctly when the project is served from a subdirectory. This change modifies the script and stylesheet links in the HTML string to dynamically generate the correct paths, supporting projects served from a path other than the root.

vzambon commented 12 hours ago

Hi!

Any plans on reviewing and merging this ?