Fix frontend blank page issue
- Simplify Home.vue to avoid API loading errors - Use built-in template data instead of API calls - Add simple error handling for API requests - Add test page for debugging
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import Home from '@/views/Home.vue'
|
||||
import Editor from '@/views/Editor.vue'
|
||||
import Test from '@/views/Test.vue'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -8,6 +9,11 @@ const routes = [
|
||||
name: 'Home',
|
||||
component: Home
|
||||
},
|
||||
{
|
||||
path: '/test',
|
||||
name: 'Test',
|
||||
component: Test
|
||||
},
|
||||
{
|
||||
path: '/editor/:projectId?',
|
||||
name: 'Editor',
|
||||
|
||||
Reference in New Issue
Block a user