Skip to content

Moving Core emails from dev to production #141

Answered by BayBreezy
BayBreezy asked this question in Q&A
Discussion options

You must be logged in to vote

For anyone who is wondering how I actually got this done, I had to do some digging to see how the creator of this package saved the core emails. The logic comes from here: https://github.com/alexzaganelli/strapi-plugin-email-designer/blob/main/server/controllers/designer.js#L158

I created a function that gets called inside the bootstrap function located in the .src/index.js file.

The file with the functions look like this

const {
  emailConfirmationDesign,
  emailConfirmationTemplate,
} = require("./email-confirmation-string-design");
const {
  resetPasswordDesign,
  resetPasswordStringTemplate,
} = require("./reset-password-string-design");

const createConfirmAccountTemplate = async () => 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BayBreezy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant