add FlowEditorPage

This commit is contained in:
daitian
2023-09-02 08:14:24 +08:00
parent 16edd398be
commit 4eb56372a5
5 changed files with 167 additions and 6 deletions

View File

@@ -4,13 +4,21 @@ const routes: RouteRecordRaw[] = [
{
path: '/',
component: () => import('layouts/MainLayout.vue'),
children: [{ path: '', component: () => import('pages/IndexPage.vue') }],
},
{
path: '/ruleEditor/',
component: () => import('layouts/MainLayout.vue'),
children: [{ path: '', component: () => import('pages/RuleEditor.vue') }],
children: [
{ path: '', component: () => import('pages/IndexPage.vue') },
{ path: 'ruleEditor', component: () => import('pages/RuleEditor.vue') },
{ path: 'flowEditor', component: () => import('pages/FlowEditorPage.vue') }
],
},
// {
// path: '/ruleEditor/',
// component: () => import('layouts/MainLayout.vue'),
// children: [{ path: '', component: () => import('pages/RuleEditor.vue') }],
// },
// {
// path: '/flowEditor/',
// component: () => import('layouts/FlowEditorPage.vue'),
// },
// Always leave this as last one,
// but you can also remove it