Expand EasyCode front workbench features
This commit is contained in:
@@ -5,12 +5,18 @@ import HomeView from '@/views/HomeView.vue'
|
||||
import LoginView from '@/views/LoginView.vue'
|
||||
import RegisterView from '@/views/RegisterView.vue'
|
||||
import GenerateView from '@/views/GenerateView.vue'
|
||||
import ProjectListView from '@/views/ProjectListView.vue'
|
||||
import PreviewView from '@/views/PreviewView.vue'
|
||||
import SourceDetailView from '@/views/SourceDetailView.vue'
|
||||
import SourceStoreView from '@/views/SourceStoreView.vue'
|
||||
|
||||
const routes = [
|
||||
{ path: '/', name: 'home', component: HomeView },
|
||||
{ path: '/login', name: 'login', component: LoginView },
|
||||
{ path: '/register', name: 'register', component: RegisterView },
|
||||
{ path: '/source-store', name: 'source-store', component: SourceStoreView },
|
||||
{ path: '/source-store/:sourceId', name: 'source-detail', component: SourceDetailView },
|
||||
{ path: '/projects', name: 'projects', component: ProjectListView, meta: { requiresAuth: true } },
|
||||
{ path: '/generate', name: 'generate', component: GenerateView, meta: { requiresAuth: true } },
|
||||
{
|
||||
path: '/project/:projectId/preview',
|
||||
|
||||
Reference in New Issue
Block a user