Skip to content

Commit

Permalink
feat(useTitle): Add useTitle
Browse files Browse the repository at this point in the history
feat(useNProgress): Add useNProgress
  • Loading branch information
kailong321200875 committed Jan 9, 2022
1 parent 3fc7d4d commit c5ab359
Show file tree
Hide file tree
Showing 24 changed files with 1,246 additions and 865 deletions.
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
"i18n-ally.enabledParsers": ["ts"],
"i18n-ally.sourceLanguage": "en",
"i18n-ally.displayLanguage": "zh-CN",
"i18n-ally.enabledFrameworks": ["vue", "react"],
"god.tsconfig": "./tsconfig.json"
"i18n-ally.enabledFrameworks": ["vue", "react"]
}
5 changes: 4 additions & 1 deletion mock/user/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { config } from '@/config/axios'
import { config } from '@/config/axios/config'
import { MockMethod } from 'vite-plugin-mock'

const { result_code } = config

const timeout = 2000

const List: {
username: string
password: string
Expand All @@ -28,6 +30,7 @@ export default [
{
url: '/user/login',
method: 'post',
timeout,
response: ({ body }) => {
const data = body
let hasUser = false
Expand Down
25 changes: 14 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@
},
"dependencies": {
"@iconify/iconify": "^2.1.0",
"@vueuse/core": "^7.5.1",
"@vueuse/core": "^7.5.3",
"@zxcvbn-ts/core": "^1.2.0",
"animate.css": "^4.1.1",
"axios": "^0.24.0",
"element-plus": "1.3.0-beta.1",
"element-plus": "1.3.0-beta.2",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"pinia": "^2.0.9",
"qs": "^6.10.2",
"vue": "3.2.26",
Expand All @@ -44,28 +45,30 @@
"devDependencies": {
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@iconify/json": "^1.1.450",
"@iconify/json": "^1.1.453",
"@intlify/vite-plugin-vue-i18n": "^3.2.1",
"@purge-icons/generated": "^0.7.0",
"@types/lodash-es": "^4.17.5",
"@types/node": "^17.0.5",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@types/node": "^17.0.8",
"@types/nprogress": "^0.2.0",
"@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"@vitejs/plugin-vue": "^2.0.1",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"autoprefixer": "^10.4.1",
"autoprefixer": "^10.4.2",
"commitizen": "^4.2.4",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-define-config": "^1.2.1",
"eslint-define-config": "^1.2.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.2.0",
"husky": "^7.0.4",
"less": "^4.1.2",
"lint-staged": "^12.1.4",
"lint-staged": "^12.1.7",
"postcss": "^8.4.5",
"postcss-html": "^1.3.0",
"postcss-less": "^5.0.0",
"postcss-less": "^6.0.0",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
Expand All @@ -82,7 +85,7 @@
"vite-plugin-style-import": "^1.4.1",
"vite-plugin-svg-icons": "^1.1.0",
"vite-plugin-windicss": "^1.6.1",
"vue-tsc": "^0.30.1",
"vue-tsc": "^0.30.2",
"windicss": "^3.4.2",
"windicss-analysis": "^0.3.5"
},
Expand Down
Loading

0 comments on commit c5ab359

Please sign in to comment.