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:
Poker Design Developer
2026-05-31 19:35:53 +08:00
parent 5dbcebf7a2
commit 48b6fb0a39
5 changed files with 212 additions and 147 deletions

View File

@@ -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',