admin管理员组文章数量:1325961
Are there any ways to incorporate Angular (Google's Angular, not AngularJS) into Wordpress? Either in the theme or in pages/posts? I may be working on a customer-facing website for a product, and the admin site for the product will be built in Angular. There are versions of some of what will be in the admin section that will also be visible to customers. If we could re-use the Angular code in the WordPress site, that would be ideal.
Are there any ways to incorporate Angular (Google's Angular, not AngularJS) into Wordpress? Either in the theme or in pages/posts? I may be working on a customer-facing website for a product, and the admin site for the product will be built in Angular. There are versions of some of what will be in the admin section that will also be visible to customers. If we could re-use the Angular code in the WordPress site, that would be ideal.
Share Improve this question asked Aug 12, 2020 at 22:01 Steev0Steev0 112 bronze badges1 Answer
Reset to default 0Logically, I think this can be done. There should be a way to integrate Angular along with Wordpress for your SPA. You would have to use the wordpress REST API to connect them both though. Also, you would need to enqueue the scripts in functions.php for the same. Although I am not sure about running angular code in wordpress. You will need some sort of plugin to help wordpress understand the angular code.
本文标签: frameworkCan Angular be used inwith WordPress
版权声明:本文标题:framework - Can Angular be used inwith WordPress? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742190826a2430180.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论