Skip to content

Commit 7d871d5

Browse files
committed
feat: 框架
0 parents  commit 7d871d5

File tree

638 files changed

+136372
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

638 files changed

+136372
-0
lines changed

.browserslistrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
> 1%
2+
last 2 versions
3+
not dead
4+
not ie 11

.dockerignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
node_modules
2+
.DS_Store
3+
dist
4+
dist-ssr
5+
*.local
6+
.eslintcache
7+
report.html
8+
9+
yarn.lock
10+
npm-debug.log*
11+
.pnpm-error.log*
12+
.pnpm-debug.log
13+
tests/**/coverage/
14+
15+
# Editor directories and files
16+
.idea
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
tsconfig.tsbuildinfo

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
insert_final_newline = false
14+
trim_trailing_whitespace = false

.env

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 平台本地运行端口号
2+
VITE_PORT = 8848
3+
4+
# 是否隐藏首页 隐藏 true 不隐藏 false (勿删除,VITE_HIDE_HOME只需在.env文件配置)
5+
VITE_HIDE_HOME = false

.env.development

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 平台本地运行端口号
2+
VITE_PORT = 8848
3+
4+
# 开发环境读取配置文件路径
5+
VITE_PUBLIC_PATH = /
6+
7+
# 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
8+
VITE_ROUTER_HISTORY = "hash"

.env.production

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# 线上环境平台打包路径
2+
VITE_PUBLIC_PATH = /
3+
4+
# 线上环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
5+
VITE_ROUTER_HISTORY = "hash"
6+
7+
# 是否在打包时使用cdn替换本地库 替换 true 不替换 false
8+
VITE_CDN = false
9+
10+
# 是否启用gzip压缩或brotli压缩(分两种情况,删除原始文件和不删除原始文件)
11+
# 压缩时不删除原始文件的配置:gzip、brotli、both(同时开启 gzip 与 brotli 压缩)、none(不开启压缩,默认)
12+
# 压缩时删除原始文件的配置:gzip-clear、brotli-clear、both-clear(同时开启 gzip 与 brotli 压缩)、none(不开启压缩,默认)
13+
VITE_COMPRESSION = "none"

.env.staging

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# 预发布也需要生产环境的行为
2+
# https://cn.vitejs.dev/guide/env-and-mode.html#modes
3+
# NODE_ENV = development
4+
5+
VITE_PUBLIC_PATH = /
6+
7+
# 预发布环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
8+
VITE_ROUTER_HISTORY = "hash"
9+
10+
# 是否在打包时使用cdn替换本地库 替换 true 不替换 false
11+
VITE_CDN = true
12+
13+
# 是否启用gzip压缩或brotli压缩(分两种情况,删除原始文件和不删除原始文件)
14+
# 压缩时不删除原始文件的配置:gzip、brotli、both(同时开启 gzip 与 brotli 压缩)、none(不开启压缩,默认)
15+
# 压缩时删除原始文件的配置:gzip-clear、brotli-clear、both-clear(同时开启 gzip 与 brotli 压缩)、none(不开启压缩,默认)
16+
VITE_COMPRESSION = "none"

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
public/wasm/capture.worker.js linguist-language=Vue
2+
public/wasm/index.js linguist-language=Vue
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: "\U0001F41E Bug report"
2+
description: Report an issue with vue-pure-admin
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
感谢您花时间填写此错误报告 (Thanks for taking the time to fill out this bug report)
8+
- type: textarea
9+
id: bug-description
10+
attributes:
11+
label: 描述问题 (Describe the problem)
12+
placeholder: 请描述您的问题 (Please describe your problem)
13+
validations:
14+
required: true
15+
- type: textarea
16+
id: reproduction-steps
17+
attributes:
18+
label: 如何复现该问题 (How to reproduce the problem)
19+
placeholder: 请提供复现问题的具体操作步骤,以便平台快速定位、高效地解决问题。当然如果问题的操作步骤较复杂,您可以fork平台,然后去改动代码复现问题,这样更高效 (Please provide specific steps to reproduce the problem, so that the platform can quickly locate and solve the problem efficiently. Of course, if the operation steps of the problem are more complicated, you can fork the platform, and then modify the code to reproduce the problem, which is more efficient)
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: system-info
24+
attributes:
25+
label: 操作系统和浏览器信息 (Operating system and browser information)
26+
placeholder: 如果您遇到操作系统或浏览器兼容性问题,可选填此项 (Optional if you encounter operating system or browser compatibility issues)
27+
validations:
28+
required: false
29+
- type: checkboxes
30+
id: checkboxes
31+
attributes:
32+
label: 验证 (Verify)
33+
description: 在提交问题之前,请确保您执行以下操作 (Before submitting an issue, please ensure you do the following)
34+
options:
35+
- label: 是否仔细阅读过 [文档](https://pure-admin.cn/) (Have you read [documentation](https://pure-admin.cn/) carefully)
36+
required: true
37+
- label: 检查是否存在相同或类似的问题 [issues](https://github.com/pure-admin/vue-pure-admin/issues) (Check for the same or similar [issues](https://github.com/pure-admin/vue-pure-admin/issues))
38+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

0 commit comments

Comments
 (0)