visualbuilder / email-templates

Email Template Editor for Filament
GNU General Public License v3.0
73 stars 19 forks source link

Allow Resource Publishing #3

Closed leek closed 2 months ago

leek commented 1 year ago

Most Filament plugins give developers the ability to publish the plugins resources.

Example: https://github.com/3x1io/filament-user/blob/main/src/Console/PublishUserResourceCommand.php

This would allow developers to override the display (change where the navigation item shows up for example), etc.

Additionally, it would be nice if the plugin config was prefixed with filament-, which seems to be a convention amongst plugin authors.

cannycookie commented 1 year ago

The install command publishes the assets automatically so you don't have to do it.

leek commented 1 year ago

The install command publishes the assets automatically so you don't have to do it.

It publishes the resource? This did not happen for me.

cannycookie commented 1 year ago

Oh, sorry I thought you meant the resource assets. I can update it to publish the resource if you need it. Will have a look over the weekend.

Umar-Farooq-Shafi commented 8 months ago

any updates?

cannycookie commented 2 months ago

Hi guys,

Sorry, it's been a long time, have been juggling many balls. The simplest solution is to create your own resource and extend the vendor/visualbuilder/email-templates/src/Resources/EmailTemplateResource.php file.