// @unocss-include
import { AppRoute } from '@factor/api'

export function getRoutes() {
  return [
    new AppRoute({
      name: 'sitePreview',
      path: `/site-preview/:siteId?/:slug?/:itemId?`,
      component: () => import('./engine/SiteRender.vue'),
    }),
    new AppRoute({
      name: 'createTheme',
      path: `/create-theme/:themeId?/:slug?/:itemId?`,
      component: () => import('./engine/ThemeRender.vue'),
    }),
  ]
}
