部署在Heroku(Yeoman Generator Heroku)中添加Outlook
下午好,我已经与Yeoman产生了展望,我将尝试将其上传到Heroku环境中,但是我不知道要遵循哪些准则来上传它,我以前将Nodejs Projects上传到Heroku,以前但是更改端口和一些脚本有效,我不知道我应该遵循哪些文档。
此致
Good afternoon, I have generated an Outlook add in with Yeoman, I am about to try to upload it to a Heroku environment, but I don't know what guidelines to follow to upload it well, I have uploaded nodejs projects to heroku before, but changing the port and some script works, I don't know what documentation I should follow.
Best regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您处理典型的Web应用程序。
package.json
文件中的脚本部分中有一个命令,如果您基于WebPack bundler构建加载项:因此,如果您以以下方式运行它:
您将获得所有在
dist
文件夹中配置的文件。因此,您只需要将它们上传到任何Web服务器。在
webpack.config.js
中,您需要配置生产URL以正确构建加载项并为特定的Web服务器准备就绪。无需手动更改端口。但是,您可以检查清单文件。You deal with a typical web application. There is a command in the scripts section of the
package.json
file if you build the add-in based on the webpack bundler:So, if you run it in the following way:
You will get all the files configured in the
dist
folder. So, you just need to upload them to any web server.In the
webpack.config.js
you need to configure the production URL to build the add-in correctly and ready for a specific web server. There is no need to change the ports manually. However, you may check the manifest file.