-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a4c7ccf
Showing
91 changed files
with
30,657 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* eslint-env node */ | ||
require('@rushstack/eslint-patch/modern-module-resolution') | ||
|
||
module.exports = { | ||
root: true, | ||
'extends': [ | ||
'plugin:vue/vue3-essential', | ||
'eslint:recommended', | ||
'@vue/eslint-config-typescript', | ||
'@vue/eslint-config-prettier/skip-formatting' | ||
], | ||
overrides: [ | ||
{ | ||
files: [ | ||
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}', | ||
'cypress/support/**/*.{js,ts,jsx,tsx}' | ||
], | ||
'extends': [ | ||
'plugin:cypress/recommended' | ||
] | ||
} | ||
], | ||
parserOptions: { | ||
ecmaVersion: 'latest' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
.vscode | ||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/prettierrc", | ||
"semi": false, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"printWidth": 100, | ||
"trailingComma": "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# iotscan-web | ||
|
||
这是一个基于vue3+element-plus+vite4+pinia开发一个资产测绘平台+漏洞扫描的前端项目,提供多种自定义的开发,如果你的扫描器或资产测绘平台不追求UI仅仅是为了快速开发,可以参考此项目。 | ||
|
||
## Project Setup | ||
|
||
```shell | ||
npm install | ||
``` | ||
|
||
### Compile and Hot-Reload for Development | ||
|
||
```shell | ||
npm run dev | ||
``` | ||
|
||
### Type-Check, Compile and Minify for Production | ||
|
||
```shell | ||
npm run build | ||
``` | ||
|
||
### Run Unit Tests with [Vitest](https://vitest.dev/) | ||
|
||
```shell | ||
npm run test:unit | ||
``` | ||
|
||
### Lint with [ESLint](https://eslint.org/) | ||
|
||
```shell | ||
npm run lint | ||
``` | ||
|
||
### Preview使用 | ||
|
||
```shell | ||
# stage environment | ||
pnpm preview:stage | ||
|
||
# prod environment | ||
pnpm preview:prod | ||
``` | ||
|
||
## 简述 | ||
|
||
这是一个vue3+pinia+elementui-plus+vite构建的一个web前端项目。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* eslint-disable */ | ||
/* prettier-ignore */ | ||
// @ts-nocheck | ||
// noinspection JSUnusedGlobalSymbols | ||
// Generated by unplugin-auto-import | ||
export {} | ||
declare global { | ||
const ElButton: typeof import('element-plus/es')['ElButton'] | ||
const ElInput: typeof import('element-plus/es')['ElInput'] | ||
const ElMessage: typeof import('element-plus/es')['ElMessage'] | ||
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] | ||
const ElTag: typeof import('element-plus/es')['ElTag'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* eslint-disable */ | ||
/* prettier-ignore */ | ||
// @ts-nocheck | ||
// Generated by unplugin-vue-components | ||
// Read more: https://github.com/vuejs/core/pull/3399 | ||
export {} | ||
|
||
declare module 'vue' { | ||
export interface GlobalComponents { | ||
CreateTasksWindows: typeof import('./src/components/Tasks/CreateTasksWindows.vue')['default'] | ||
CreateUserWindows: typeof import('./src/components/Users/CreateUserWindows.vue')['default'] | ||
ElAvatar: typeof import('element-plus/es')['ElAvatar'] | ||
ElButton: typeof import('element-plus/es')['ElButton'] | ||
ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup'] | ||
ElCard: typeof import('element-plus/es')['ElCard'] | ||
ElCol: typeof import('element-plus/es')['ElCol'] | ||
ElCollapse: typeof import('element-plus/es')['ElCollapse'] | ||
ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem'] | ||
ElDescriptions: typeof import('element-plus/es')['ElDescriptions'] | ||
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem'] | ||
ElDialog: typeof import('element-plus/es')['ElDialog'] | ||
ElDivider: typeof import('element-plus/es')['ElDivider'] | ||
ElDropdown: typeof import('element-plus/es')['ElDropdown'] | ||
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] | ||
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] | ||
ElEmpty: typeof import('element-plus/es')['ElEmpty'] | ||
ElForm: typeof import('element-plus/es')['ElForm'] | ||
ElFormItem: typeof import('element-plus/es')['ElFormItem'] | ||
ElIcon: typeof import('element-plus/es')['ElIcon'] | ||
ElImage: typeof import('element-plus/es')['ElImage'] | ||
ElInput: typeof import('element-plus/es')['ElInput'] | ||
ElLink: typeof import('element-plus/es')['ElLink'] | ||
ElMenu: typeof import('element-plus/es')['ElMenu'] | ||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] | ||
ElOption: typeof import('element-plus/es')['ElOption'] | ||
ElPagination: typeof import('element-plus/es')['ElPagination'] | ||
ElProgress: typeof import('element-plus/es')['ElProgress'] | ||
ElRadio: typeof import('element-plus/es')['ElRadio'] | ||
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] | ||
ElRow: typeof import('element-plus/es')['ElRow'] | ||
ElSelect: typeof import('element-plus/es')['ElSelect'] | ||
ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] | ||
ElSwitch: typeof import('element-plus/es')['ElSwitch'] | ||
ElTable: typeof import('element-plus/es')['ElTable'] | ||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] | ||
ElTabPane: typeof import('element-plus/es')['ElTabPane'] | ||
ElTabs: typeof import('element-plus/es')['ElTabs'] | ||
ElTag: typeof import('element-plus/es')['ElTag'] | ||
ElTooltip: typeof import('element-plus/es')['ElTooltip'] | ||
HeaDer: typeof import('./src/components/HeaDer.vue')['default'] | ||
LoadingView: typeof import('./src/components/Common/Loading/LoadingView.vue')['default'] | ||
ProjectList: typeof import('./src/components/Project/ProjectList.vue')['default'] | ||
ProjectVulInfoWinodws: typeof import('./src/components/Project/ProjectVulInfoWinodws.vue')['default'] | ||
RouterBreadcrumd: typeof import('./src/components/RouterBreadcrumd.vue')['default'] | ||
RouterLink: typeof import('vue-router')['RouterLink'] | ||
RouterView: typeof import('vue-router')['RouterView'] | ||
SideBar: typeof import('./src/components/SideBar.vue')['default'] | ||
TableColumn: typeof import('./src/components/Common/Tables/TableColumn.vue')['default'] | ||
TablesView: typeof import('./src/components/Common/Tables/TablesView.vue')['default'] | ||
TagsView: typeof import('./src/components/TagsView.vue')['default'] | ||
TestTable: typeof import('./src/components/Common/Test/TestTable.vue')['default'] | ||
TestVIew: typeof import('./src/components/Common/TestVIew.vue')['default'] | ||
} | ||
export interface ComponentCustomProperties { | ||
vLoading: typeof import('element-plus/es')['ElLoadingDirective'] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/// <reference types="vite/client" /> | ||
declare module "*.vue" { | ||
// 引入vue模块中ts的方法 | ||
import type { DefineComponent } from "vue" | ||
// 定义vue组件以及类型注解 | ||
const component: DefineComponent<{}, {}, any> | ||
export default component | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<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> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.