【问题标题】:Order of the side bar items侧边栏项目的顺序
【发布时间】:2017-05-11 15:27:24
【问题描述】:

有没有办法重新排序基于 w20-business-theme 的 Web 应用程序的侧栏条目,该应用程序的母版页自动生成(使用类别除外)。

谢谢!

【问题讨论】:

    标签: seedstack


    【解决方案1】:

    要对侧边栏的条目进行排序,我们需要使用 sortKey 属性。

    小例子:

        "routes": {
      "home": {
        "template": "<h1>Hello World!</h1>",
        "hidden": true
      },
      "components1": {
        "templateUrl": "{demo}/views/components.html",
        "sortKey": 10
      },
      "components2": {
        "templateUrl": "{demo}/views/components.html",
        "sortKey": 30
      },
      "components3": {
        "templateUrl": "{demo}/views/components.html",
        "sortKey": 20
      },
      "components4": {
        "templateUrl": "{demo}/views/components.html",
        "sortKey": 50
      }
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-20
      • 2012-10-17
      • 2011-06-18
      • 1970-01-01
      • 2020-10-14
      • 1970-01-01
      相关资源
      最近更新 更多