mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 04:45:02 +00:00
dashboard: separate plugin usage/configuration, add usage guide + configuration guide
This commit is contained in:
parent
1cf09ea997
commit
3ff3bfd5f0
10 changed files with 524 additions and 85 deletions
|
@ -1,8 +1,6 @@
|
|||
import Vue from "vue";
|
||||
import VueRouter, { RouteConfig } from "vue-router";
|
||||
import Splash from "./components/Splash.vue";
|
||||
import Login from "./components/Login.vue";
|
||||
import LoginCallback from "./components/LoginCallback.vue";
|
||||
import { authGuard, authRedirectGuard, loginCallbackGuard } from "./auth";
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
@ -17,7 +15,7 @@ export const router = new VueRouter({
|
|||
// Docs
|
||||
{
|
||||
path: "/docs",
|
||||
component: () => import("./components/docs/Layout.vue"),
|
||||
component: () => import("./components/docs/DocsLayout.vue"),
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
|
@ -40,7 +38,7 @@ export const router = new VueRouter({
|
|||
component: () => import("./components/docs/ArgumentTypes.vue"),
|
||||
},
|
||||
{
|
||||
path: "plugins/:pluginName",
|
||||
path: "plugins/:pluginName/:tab?",
|
||||
component: () => import("./components/docs/Plugin.vue"),
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue