Angular ui router multiple named views for all states

后端 未结 2 1179
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 09:35

I want to know if there is any way to write multiple named view for all states, the best example is when i want the nav bar and footer to appear in all routes.



        
2条回答
  •  暖寄归人
    2020-12-29 10:18

    Depending on the rest of your routes you can probably make use of the abstract state to do this:

    Angular UI Router - Views in an Inherited State might also help point you in the right direction.

提交回复
热议问题