@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Vite App</title>
+ <title>SEEAI专业英语写作</title>
</head>
<body>
<div id="app"></div>
@@ -5,10 +5,10 @@
"type": "module",
"scripts": {
"dev": "vite",
- "build": "run-p type-check \"build-only {@}\" --",
+ "build": "run-p build-only",
"preview": "vite preview",
"build-only": "vite build",
- "type-check": "vue-tsc --build --force",
+ "type-check": "vue-tsc --build",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
},
"dependencies": {
@@ -20,6 +20,7 @@
img{
width:auto ;
+ vertical-align: middle;
height: 36px;
}
@@ -32,6 +33,7 @@
& .header-menu-item{
color: #000000;
height: 40px;
@@ -57,6 +59,7 @@
.header-userName {
margin-left: auto;
display: flex;
align-items: center;
gap: 15px;
float: right;
@@ -11,7 +11,7 @@
<div class="container-box">
<div class="login-logo">
<div class="logo-image">
- <img src="../LoginPage/seecoderLogo.png" alt="logo" width="500vh">
+ <img src="../LoginPage/seecoderLogo.png" alt="logo" width="400vh">
</div>
<div class="login-box">
@@ -9,6 +9,7 @@
"ignoreDeprecations":"5.0",
"noImplicitAny": false,
"strict": false,
+ "noEmit": false,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
@@ -11,6 +11,7 @@
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"compilerOptions": {
+ "declaration": true,
"baseUrl": "src",
"@/*": ["./*"]
@@ -9,9 +9,8 @@
],
"composite": true,
- "noEmit": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
-
"module": "ESNext",
"moduleResolution": "Bundler",
"types": ["node"]
@@ -0,0 +1,2 @@
+declare const _default: import("vite").UserConfig;
+export default _default;
@@ -0,0 +1,18 @@
+import { fileURLToPath, URL } from 'node:url';
+import { defineConfig } from 'vite';
+import vue from '@vitejs/plugin-vue';
+// https://vitejs.dev/config/
+export default defineConfig({
+ plugins: [
+ vue(),
+ ],
+ resolve: {
+ alias: {
+ '@': fileURLToPath(new URL('./src', import.meta.url))
+ }
+ },
+ server: {
+ host: '127.0.0.1',
+ port: 4000
+});