简体   繁体   中英

using angular-ui-router in asp.net 5 mvc 6

I have created a site using MVC6, AspNet5 and Angular. I use Angular specifically for a wizard. Now I want to use a multi-step wizard with angular-ui-router as described in angularjs-multi-step-form-using-ui-router . It seems the ui router only works when creating an SPA. I also cant get it to load a cshtml file as the wrapper. Any starting points=

如果我认为这是对的,那么您倾向于开发SPA和此目标前端html,css和angularJS,则不需要.chtml,除非您是第一次返回它或通过ajax调用返回html,并且对于您来说像表单这样的向导如果您收集所有表单数据并将其发送到服务器上的post方法并处理post操作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM