-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from superconsensus/dev
xuper scan v1
- Loading branch information
Showing
36 changed files
with
33,866 additions
and
1 deletion.
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,3 @@ | ||
> 1% | ||
last 2 versions | ||
not dead |
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,27 @@ | ||
module.exports = { | ||
root: true, //此项是用来告诉eslint找当前配置文件不能往父级查找 | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:vue/essential" | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly", | ||
"process": true | ||
}, | ||
parserOptions: { | ||
parser: "babel-eslint" | ||
}, | ||
"plugins": [ | ||
"vue" | ||
], | ||
rules: { | ||
/*这里是eslint规则*/ | ||
"no-console":"off", | ||
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off" | ||
} | ||
} |
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,23 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.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,19 @@ | ||
module.exports = { | ||
plugins: { | ||
autoprefixer: {}, // 用来给不同的浏览器自动添加相应前缀,如-webkit-,-moz-等等 | ||
"postcss-px-to-viewport": { | ||
unitToConvert: "px", // 要转化的单位 | ||
viewportWidth: 750, // UI设计稿的宽度 | ||
unitPrecision: 6, // 转换后的精度,即小数点位数 | ||
propList: ["*"], // 指定转换的css属性的单位,*代表全部css属性的单位都进行转换 | ||
viewportUnit: "vw", // 指定需要转换成的视窗单位,默认vw | ||
fontViewportUnit: "vw", // 指定字体需要转换成的视窗单位,默认vw | ||
selectorBlackList: ["wrap"], // 指定不转换为视窗单位的类名, | ||
minPixelValue: 1, // 默认值1,小于或等于1px则不进行转换 | ||
mediaQuery: true, // 是否在媒体查询的css代码中也进行转换,默认false | ||
replace: true, // 是否转换后直接更换属性值 | ||
exclude: [/node_modules/], // 设置忽略文件,用正则做目录名匹配 | ||
landscape: false // 是否处理横屏情况 | ||
} | ||
} | ||
}; |
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 |
---|---|---|
@@ -1 +1,35 @@ | ||
# xuperscan | ||
# my-vue-template | ||
|
||
## 下载依赖 | ||
``` | ||
npm install | ||
``` | ||
|
||
### 启动项目 | ||
``` | ||
npm run serve | ||
``` | ||
|
||
### 打包项目 | ||
``` | ||
npm run bulid | ||
``` | ||
|
||
### 项目所需安装包以及版本 | ||
"ant-design-vue": "^1.7.5", | ||
"antd": "^4.16.1", | ||
"axios": "^0.21.1", | ||
"clipboard": "^2.0.8", | ||
"core-js": "^3.6.5", | ||
"echarts": "^5.1.2", | ||
"install": "^0.13.0", | ||
"lib-flexible": "^0.3.2", | ||
"lodash": "^4.17.21", | ||
"moment": "^2.29.1", | ||
"npm": "^7.15.1", | ||
"postcss": "^8.3.0", | ||
"vue": "^2.6.11", | ||
"vue-json-viewer": "^2.2.19", | ||
"vue-json-views": "^1.3.0", | ||
"vue-router": "^3.2.0", | ||
"vuex": "^3.4.0" |
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,3 @@ | ||
module.exports = { | ||
presets: ["@vue/cli-plugin-babel/preset"] | ||
}; |
Oops, something went wrong.