This commit is contained in:
ember 2025-02-01 13:09:28 +08:00
commit 35359b7f58
30 changed files with 15829 additions and 0 deletions

46
.gitignore vendored Normal file
View File

@ -0,0 +1,46 @@
# 依赖目录
node_modules/
/dist/
.well-known/
# 日志文件
npm-debug.log*
yarn-debug.log*
yarn-error.log*
logs/
*.log
# 编辑器目录和文件
.idea/
.vscode/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# 操作系统文件
.DS_Store
Thumbs.db
# 环境配置文件
.env
.env.local
.env.*.local
# 构建文件
/build/
/dist/
/out/
# 缓存文件
.cache/
.temp/
.sass-cache/
# 测试覆盖率报告
/coverage/
# 临时文件
*.tmp
*.temp

189
README.md Normal file

File diff suppressed because it is too large Load Diff

19
front/README.md Normal file
View File

@ -0,0 +1,19 @@
# werewolf
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

5
front/babel.config.js Normal file
View File

@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}

19
front/jsconfig.json Normal file
View File

@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}

10316
front/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

29
front/package.json Normal file
View File

@ -0,0 +1,29 @@
{
"name": "werewolf",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
},
"dependencies": {
"core-js": "^3.8.3",
"element-plus": "^2.9.2",
"js-cookie": "^3.0.5",
"vue": "^3.2.13",
"vue-router": "^4.0.3",
"vuex": "^4.0.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-router": "~5.0.0",
"@vue/cli-plugin-vuex": "~5.0.0",
"@vue/cli-service": "~5.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead",
"not ie 11"
]
}

BIN
front/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

17
front/public/index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="">
<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">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

330
front/src/App.vue Normal file

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More