[英]I have getting error when i'm using message.htmlView to send mail in adonis js
enter image description here在此处输入图像描述
The error:错误:
Error: "@adonisjs/view" must be installed before using "message.htmlView"
I have installed this package but still getting error.我已经安装了这个包,但仍然出现错误。
After running the command npm i @adonisjs/view
, the next thing to do is to configure the package before it can work and do to that you just run the command node ace configure @adonisjs/view
.在运行命令
npm i @adonisjs/view
之后,接下来要做的是在包可以工作之前配置它,然后你只需运行命令node ace configure @adonisjs/view
。
For more information, check out https://docs.adonisjs.com/guides/views/introduction#setup有关更多信息,请查看https://docs.adonisjs.com/guides/views/introduction#setup
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.