mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-02-15 19:04:28 +08:00
This commit includes the necessary changes to migrate the web application's frontend build system from vue-cli to Vite. Key changes include: - Installed Vite and @vitejs/plugin-vue. - Removed vue-cli dependencies. - Created vite.config.js with configurations for aliases, proxy, and dev server, based on the previous vue.config.js. - Moved public/index.html to web/index.html and updated it for Vite. - Updated package.json scripts to use Vite commands. Note: Due to persistent Node.js environment issues, I could not test the application after these changes. Manual testing and potential debugging will be required to ensure everything works as expected.
23 lines
692 B
HTML
23 lines
692 B
HTML
<!DOCTYPE html>
|
|
<html lang="zh-cn" data-theme="light">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width,initial-scale=1.0,user-scalable=no"
|
|
/>
|
|
<title>Geek-AI 创作助手</title>
|
|
<!-- Add any global CSS files here if needed, e.g., <link rel="stylesheet" href="/css/global.css"> -->
|
|
<!-- Favicon can be linked here, e.g., <link rel="icon" href="/favicon.ico"> -->
|
|
</head>
|
|
|
|
<body>
|
|
<noscript>
|
|
<strong>请开启JavaScript支持</strong>
|
|
</noscript>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.js"></script>
|
|
</body>
|
|
</html>
|