Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organize templates in directories #435

Open
maxsalven opened this issue Feb 2, 2023 · 1 comment
Open

Organize templates in directories #435

maxsalven opened this issue Feb 2, 2023 · 1 comment

Comments

@maxsalven
Copy link

I have a large amount of templates and they are all in the /emails folder. I'd love to be able to organize these into subdirectories, e.g.

/emails/accounts/password_reset.tsx
/emails/marketplace/item_purchased.tsx
@psugihara
Copy link
Collaborator

I like this idea a lot and would welcome a pull request here. I think we could make this change with no UI changes to start, just need to modify where we read in the templates: https://github.com/sofn-xyz/mailing/blob/main/packages/cli/src/commands/preview/server/setup.ts#L66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants