- 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
12 lines
307 B
JavaScript
12 lines
307 B
JavaScript
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
|
|
const app = createApp(App)
|
|
app.use(createPinia())
|
|
app.use(router)
|
|
app.use(ElementPlus)
|
|
app.mount('#app') |