[英]Embed yeoman created angularjs application in play framework
My target software architecture: 我的目标软件架构:
My question: 我的问题:
I want to host the angularjs inside the play application.
我想在play应用程序中托管angularjs。 How can I achieve that?
我该如何实现?
(I don't want to create a second app and host it with grunt serve since this causes problems because of the 'same origin policy') (我不想创建第二个应用程序并通过grunt服务托管它,因为由于“相同来源政策”,这会导致问题)
You could use Play Yeoman . 您可以使用Play Yeoman 。 Here is a small example application which shows a simple implementation.
这是一个小示例应用程序,显示了一个简单的实现。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.