a proposal
fhyoga opened this issue · 4 comments
fhyoga commented
It is recommended to add a configuration item and mount the path of the template file to ctx.
This can support some hacks in the development environment, such as reading the template file compiled by webpack in memory.
I think this is a very common requirement in development. What do you think, if I can mention a PR?
int64ago commented
Cloud you give an example to explain it? I don't understand the relation between the template file compiled
and path of the template file
.
fhyoga commented
I did not think clearly, I have found another way to solve the problem.
ckrad commented
hello my template file is in memory how can i read it?
fhyoga commented
@ckrad If you are using webpack packaged, you can look at the API of this package.