flowise / packages /ui /src /routes /MainRoutes.js
rohan13's picture
Flowise Changes
4114d85
raw
history blame contribute delete
954 Bytes
import { lazy } from 'react'
// project imports
import MainLayout from 'layout/MainLayout'
import Loadable from 'ui-component/loading/Loadable'
// chatflows routing
const Chatflows = Loadable(lazy(() => import('views/chatflows')))
// marketplaces routing
const Marketplaces = Loadable(lazy(() => import('views/marketplaces')))
// apikey routing
const APIKey = Loadable(lazy(() => import('views/apikey')))
// ==============================|| MAIN ROUTING ||============================== //
const MainRoutes = {
path: '/',
element: <MainLayout />,
children: [
{
path: '/',
element: <Chatflows />
},
{
path: '/chatflows',
element: <Chatflows />
},
{
path: '/marketplaces',
element: <Marketplaces />
},
{
path: '/apikey',
element: <APIKey />
}
]
}
export default MainRoutes