mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
- Replace .eslintrc.js with .eslintrc.cjs for better ES module compatibility - Add .prettierrc configuration for consistent code formatting - Update package.json with new lint and format scripts - Add nodemon.json for development hot reloading configuration - Standardize code formatting across all JavaScript and Vue files - Update web admin SPA with improved linting rules and formatting - Add prettier configuration to web admin SPA 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
576 B
JavaScript
28 lines
576 B
JavaScript
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
import ElementPlus from 'element-plus'
|
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
import 'element-plus/dist/index.css'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import './assets/styles/main.css'
|
|
import './assets/styles/global.css'
|
|
|
|
// 创建Vue应用
|
|
const app = createApp(App)
|
|
|
|
// 使用Pinia状态管理
|
|
const pinia = createPinia()
|
|
app.use(pinia)
|
|
|
|
// 使用路由
|
|
app.use(router)
|
|
|
|
// 使用Element Plus
|
|
app.use(ElementPlus, {
|
|
locale: zhCn
|
|
})
|
|
|
|
// 挂载应用
|
|
app.mount('#app')
|