MVC中的角度路由 [英] Angular routing in MVC

查看:81
本文介绍了MVC中的角度路由的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我对angularjs有点新,我在Asp.net中创建了一个angularjs应用程序。

我有一个查询



[ ^ ]

以上是我当地应用程序的链接

我的应用程序有两个仪表板

一个是客户仪表板

第二个是工人仪表板

我想为两者使用单独的css所以你可以建议我这个,因为它总是叫家/索引但我不想一直打电话给这个



我试过的:



您好

我对angularjs有点新,我在Asp.net中创建了一个angularjs应用程序。

我有一个查询

http:// localhost:50388 /#/消息

以上是我当地应用程序的链接

我的应用程序有两个仪表板

一个是客户仪表板

秒ond是工人仪表板

我想为两者使用单独的css所以你能不能建议我因为它总是叫家/索引但我不想一直打电话给这个

Hi
I am bit new to angularjs and i create a angularjs application in Asp.net.
I have a query that

[^]
Above is my local application's link
My application has two dashboards
One is "Client Dashboard"
Second is "Worker dashboard"
I want to use separate css for both so could you please suggest me for this because it always calls home/Index but i dnt want to call this all the time

What I have tried:

Hi
I am bit new to angularjs and i create a angularjs application in Asp.net.
I have a query that
http://localhost:50388/#/Message
Above is my local application's link
My application has two dashboards
One is "Client Dashboard"
Second is "Worker dashboard"
I want to use separate css for both so could you please suggest me for this because it always calls home/Index but i dnt want to call this all the time

推荐答案

您好



您的要求很简单。所以有很多资源可以帮助你解决这个问题。请尝试以下链接。他们肯定会有所帮助。

单页应用使用AngularJS路由和模板| Scotch [ ^ ]



AngularJS的实际应用:在瞬间创建单页应用程序(SPA)或网站菜单 [ ^ ]



谢谢
Hello

Your requirement is simple. So there are a lot of resources available which can get you out of this. Try following the below links. They will surely be of help.
Single Page Apps with AngularJS Routing and Templating | Scotch[^]

Practical Uses of AngularJS: Create a Single Page Application (SPA) or a Website Menu in an Instant[^]

Thanks


这篇关于MVC中的角度路由的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆