Skip to content

Commit

Permalink
feat:初始化
Browse files Browse the repository at this point in the history
  • Loading branch information
hellowmonkey committed Sep 4, 2022
1 parent 44f13ab commit 71f7737
Show file tree
Hide file tree
Showing 71 changed files with 1,053 additions and 3,274 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ lerna-debug.log*
node_modules
dist
dist-ssr
dist-electron
*.local

# Editor directories and files
Expand Down
Binary file added electron/image/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 24 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "template",
"private": true,
"version": "0.0.0",
"main": "dist-electron/main.js",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
Expand All @@ -21,6 +22,7 @@
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"reset-css": "^5.0.1",
"vicons": "^0.0.1",
"viewerjs": "^1.10.4",
"vue": "^3.2.25",
"vue-router": "4",
Expand All @@ -31,6 +33,7 @@
"@types/nprogress": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"@vicons/material": "^0.12.0",
"@vitejs/plugin-vue": "^2.2.0",
"@vitejs/plugin-vue-jsx": "^1.3.8",
"electron": "^18.2.0",
Expand All @@ -39,9 +42,7 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.5.0",
"less": "^4.1.2",
"postcss-preset-env": "^7.4.2",
"postcss-pxtorem": "^6.0.0",
"prettier": "^2.5.1",
"sass": "^1.49.9",
"stylelint": "^14.5.3",
Expand All @@ -54,16 +55,27 @@
"vue-tsc": "^0.29.8"
},
"build": {
"appId": "cc.hellowmonkey.tool",
"productName": "沃德工具箱",
"copyright": "2022",
"directories": {
"output": "dist-electron"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
]
}
"icon": "electron/image/logo.png",
"target": "nsis",
"legalTrademarks": "hellowmonkey"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": false
},
"files": [
"dist-electron/**/*",
"package.json"
]
}
}
10 changes: 0 additions & 10 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,5 @@ module.exports = {
browsers: `last 2 versions`,
stage: 0,
},
// "postcss-pxtorem": {
// rootValue: 16,
// unitPrecision: 5,
// propList: ["*"],
// selectorBlackList: [],
// replace: true,
// mediaQuery: false,
// minPixelValue: 0,
// exclude: /node_modules/i,
// },
},
};
Binary file modified public/favicon.ico
Binary file not shown.
17 changes: 0 additions & 17 deletions src/component/common/Avatar.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions src/component/common/Loading.tsx

This file was deleted.

57 changes: 0 additions & 57 deletions src/component/common/MainBox.tsx

This file was deleted.

136 changes: 0 additions & 136 deletions src/component/common/SelectTable.tsx

This file was deleted.

Loading

0 comments on commit 71f7737

Please sign in to comment.