Skip to content

Commit c2399b7

Browse files
committed
sdlc_python前端
1 parent 2bec0ec commit c2399b7

293 files changed

Lines changed: 53161 additions & 0 deletions

File tree

Some content is hidden

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

sdlc_python_front/.env.base

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# 环境
2+
NODE_ENV=development
3+
4+
# 接口前缀
5+
VITE_API_BASEPATH=base
6+
7+
# 打包路径
8+
VITE_BASE_PATH=./
9+
10+
# 标题
11+
VITE_APP_TITLE=

sdlc_python_front/.env.dev

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 环境
2+
NODE_ENV=production
3+
4+
# 接口前缀
5+
VITE_API_BASEPATH=dev
6+
7+
# 打包路径
8+
VITE_BASE_PATH=/dist-dev/
9+
10+
# 是否删除debugger
11+
VITE_DROP_DEBUGGER=false
12+
13+
# 是否删除console.log
14+
VITE_DROP_CONSOLE=false
15+
16+
# 是否sourcemap
17+
VITE_SOURCEMAP=true
18+
19+
# 输出路径
20+
VITE_OUT_DIR=dist-dev
21+
22+
# 标题
23+
VITE_APP_TITLE=

sdlc_python_front/.env.gitee

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 环境
2+
NODE_ENV=production
3+
4+
# 接口前缀
5+
VITE_API_BASEPATH=pro
6+
7+
# 打包路径
8+
VITE_BASE_PATH=/vue-element-plus-admin/
9+
10+
# 是否删除debugger
11+
VITE_DROP_DEBUGGER=true
12+
13+
# 是否删除console.log
14+
VITE_DROP_CONSOLE=true
15+
16+
# 是否sourcemap
17+
VITE_SOURCEMAP=false
18+
19+
# 输出路径
20+
VITE_OUT_DIR=dist-pro
21+
22+
# 标题
23+
VITE_APP_TITLE=

sdlc_python_front/.env.pro

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 环境
2+
NODE_ENV=production
3+
4+
# 接口前缀
5+
VITE_API_BASEPATH=pro
6+
7+
# 打包路径
8+
VITE_BASE_PATH=./
9+
10+
# 是否删除debugger
11+
VITE_DROP_DEBUGGER=true
12+
13+
# 是否删除console.log
14+
VITE_DROP_CONSOLE=true
15+
16+
# 是否sourcemap
17+
VITE_SOURCEMAP=false
18+
19+
# 输出路径
20+
VITE_OUT_DIR=dist-pro
21+
22+
# 标题
23+
VITE_APP_TITLE=

sdlc_python_front/.env.test

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 环境
2+
NODE_ENV=production
3+
4+
# 接口前缀
5+
VITE_API_BASEPATH=test
6+
7+
# 打包路径
8+
VITE_BASE_PATH=/dist-test/
9+
10+
# 是否删除debugger
11+
VITE_DROP_DEBUGGER=false
12+
13+
# 是否删除console.log
14+
VITE_DROP_CONSOLE=false
15+
16+
# 是否sourcemap
17+
VITE_SOURCEMAP=true
18+
19+
# 输出路径
20+
VITE_OUT_DIR=dist-test
21+
22+
# 标题
23+
VITE_APP_TITLE=

sdlc_python_front/.eslintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/build/
2+
/config/
3+
/dist/
4+
/*.js
5+
/test/unit/coverage/
6+
/node_modules/*
7+
/dist*
8+
/src/main.ts

sdlc_python_front/.eslintrc.js

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// @ts-check
2+
const { defineConfig } = require('eslint-define-config')
3+
module.exports = defineConfig({
4+
root: true,
5+
env: {
6+
browser: true,
7+
node: true,
8+
es6: true
9+
},
10+
parser: 'vue-eslint-parser',
11+
parserOptions: {
12+
parser: '@typescript-eslint/parser',
13+
ecmaVersion: 2020,
14+
sourceType: 'module',
15+
jsxPragma: 'React',
16+
ecmaFeatures: {
17+
jsx: true
18+
}
19+
},
20+
extends: [
21+
'plugin:vue/vue3-recommended',
22+
'plugin:@typescript-eslint/recommended',
23+
'prettier',
24+
'plugin:prettier/recommended'
25+
],
26+
rules: {
27+
'vue/script-setup-uses-vars': 'error',
28+
'vue/no-reserved-component-names': 'off',
29+
'@typescript-eslint/ban-ts-ignore': 'off',
30+
'@typescript-eslint/explicit-function-return-type': 'off',
31+
'@typescript-eslint/no-explicit-any': 'off',
32+
'@typescript-eslint/no-var-requires': 'off',
33+
'@typescript-eslint/no-empty-function': 'off',
34+
'vue/custom-event-name-casing': 'off',
35+
'no-use-before-define': 'off',
36+
'@typescript-eslint/no-use-before-define': 'off',
37+
'@typescript-eslint/ban-ts-comment': 'off',
38+
'@typescript-eslint/ban-types': 'off',
39+
'@typescript-eslint/no-non-null-assertion': 'off',
40+
'@typescript-eslint/explicit-module-boundary-types': 'off',
41+
'@typescript-eslint/no-unused-vars': 'off',
42+
'no-unused-vars': 'off',
43+
'space-before-function-paren': 'off',
44+
45+
'vue/attributes-order': 'off',
46+
'vue/one-component-per-file': 'off',
47+
'vue/html-closing-bracket-newline': 'off',
48+
'vue/max-attributes-per-line': 'off',
49+
'vue/multiline-html-element-content-newline': 'off',
50+
'vue/singleline-html-element-content-newline': 'off',
51+
'vue/attribute-hyphenation': 'off',
52+
'vue/require-default-prop': 'off',
53+
'vue/require-explicit-emits': 'off',
54+
'vue/html-self-closing': [
55+
'error',
56+
{
57+
html: {
58+
void: 'always',
59+
normal: 'never',
60+
component: 'always'
61+
},
62+
svg: 'always',
63+
math: 'always'
64+
}
65+
],
66+
'vue/multi-word-component-names': 'off',
67+
'vue/no-v-html': 'off',
68+
'prettier/prettier': 'off'
69+
}
70+
})

sdlc_python_front/.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
.DS_Store
3+
node_modules
4+
dist
5+
unpackage
6+
*.zip
7+
# local env files
8+
.env.local
9+
.env.*.local
10+
.hbuilderx
11+
.vscode
12+
# Log files
13+
npm-debug.log*
14+
yarn-debug.log*
15+
yarn-error.log*
16+
17+
# umi
18+
.umi
19+
.umi-production
20+
21+
# Editor directories and files
22+
.idea
23+
.vscode
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
*.zip
30+
/.hbuilderx

sdlc_python_front/.prettierignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/node_modules/**
2+
/dist/
3+
/dist*
4+
/public/*
5+
/docs/*
6+
/vite.config.ts
7+
/src/types/env.d.ts
8+
/docs/**/*
9+
/plop/**/*
10+
CHANGELOG

sdlc_python_front/.stylelintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/dist/*
2+
/public/*
3+
public/*
4+
/dist*
5+
/src/types/env.d.ts
6+
/docs/**/*

0 commit comments

Comments
 (0)