Angular UI-Router multiple views

前端 未结 2 1698
北荒
北荒 2020-12-02 08:07

I am using angular UI-Router. I have the following in my route config

.config(function config($stateProvider) {
  $sta         


        
2条回答
  •  Happy的楠姐
    2020-12-02 08:42

    The .state() method's templateUrl is ignored when using the views object. See the ui-router wiki for more info: https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views#user-content-views-override-states-template-properties

提交回复
热议问题