update
Showing
.env.development
0 → 100644
.env.ghpages
deleted
100644 → 0
.env.production
0 → 100644
.env.staging
0 → 100644
.eslintrc.cjs
deleted
100644 → 0
.eslintrc.js
0 → 100644
.prettierrc
deleted
100644 → 0
.travis.yml
0 → 100644
README-zh.md
0 → 100644
babel.config.js
0 → 100644
build/index.js
0 → 100644
env.d.ts
deleted
100644 → 0
index.html
deleted
100644 → 0
jest.config.js
0 → 100644
mock/index.js
0 → 100644
mock/mock-server.js
0 → 100644
mock/table.js
0 → 100644
mock/user.js
0 → 100644
mock/utils.js
0 → 100644
| { | { | ||
| "name": "preview-pro", | "name": "vue-admin-template", | ||
| "version": "0.0.0", | "version": "4.4.0", | ||
| "private": true, | "description": "A vue admin template with Element UI & axios & iconfont & permission control & lint", | ||
| "author": "Pan <panfree23@gmail.com>", | |||
| "scripts": { | "scripts": { | ||
| "dev": "vite", | "dev": "vue-cli-service serve", | ||
| "dev:force": "vite --force", | "build:prod": "vue-cli-service build", | ||
| "build": "vue-tsc --noEmit && vite build", | "build:stage": "vue-cli-service build --mode staging", | ||
| "build:ghpages": "vue-tsc --noEmit && vite build --base=/preview-pro/ --mode=ghpages", | "preview": "node build/index.js --preview", | ||
| "report": "vite build", | "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", | ||
| "preview": "vite preview --port 5050", | "lint": "eslint --ext .js,.vue src", | ||
| "test:unit": "vitest --environment jsdom", | "test:unit": "jest --clearCache && vue-cli-service test:unit", | ||
| "typecheck": "vue-tsc --noEmit && vue-tsc --noEmit -p tsconfig.vitest.json --composite false", | "test:ci": "npm run lint && npm run test:unit" | ||
| "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" | |||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@ant-design-vue/pro-layout": "^3.2.1", | "axios": "0.18.1", | ||
| "@ant-design/icons-vue": "^6.1.0", | "core-js": "3.6.5", | ||
| "ant-design-vue": "^3.2.0", | "element-ui": "2.13.2", | ||
| "vue": "^3.2.33", | "js-cookie": "2.2.0", | ||
| "vue-router": "^4.0.14" | "normalize.css": "7.0.0", | ||
| "nprogress": "0.2.0", | |||
| "path-to-regexp": "2.4.0", | |||
| "vue": "2.6.10", | |||
| "vue-router": "3.0.6", | |||
| "vuex": "3.1.0" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@rushstack/eslint-patch": "^1.1.3", | "@vue/cli-plugin-babel": "4.4.4", | ||
| "@types/node": "^17.0.25", | "@vue/cli-plugin-eslint": "4.4.4", | ||
| "@vitejs/plugin-vue": "^2.3.1", | "@vue/cli-plugin-unit-jest": "4.4.4", | ||
| "@vitejs/plugin-vue-jsx": "^1.3.10", | "@vue/cli-service": "4.4.4", | ||
| "@vue/eslint-config-prettier": "^7.0.0", | "@vue/test-utils": "1.0.0-beta.29", | ||
| "@vue/eslint-config-typescript": "^10.0.0", | "autoprefixer": "9.5.1", | ||
| "@vue/tsconfig": "^0.1.3", | "babel-eslint": "10.1.0", | ||
| "eslint": "^8.13.0", | "babel-jest": "23.6.0", | ||
| "eslint-plugin-vue": "^8.6.0", | "babel-plugin-dynamic-import-node": "2.3.3", | ||
| "less": "^4.1.2", | "chalk": "2.4.2", | ||
| "prettier": "^2.6.2", | "connect": "3.6.6", | ||
| "rollup-plugin-visualizer": "^5.6.0", | "eslint": "6.7.2", | ||
| "typescript": "~4.5.5", | "eslint-plugin-vue": "6.2.2", | ||
| "unplugin-auto-import": "^0.5.11", | "html-webpack-plugin": "3.2.0", | ||
| "unplugin-vue-components": "^0.17.21", | "mockjs": "1.0.1-beta3", | ||
| "vite": "^2.9.5", | "runjs": "4.3.2", | ||
| "vite-plugin-optimize-persist": "^0.1.2", | "sass": "1.26.8", | ||
| "vite-plugin-package-config": "^0.1.1", | "sass-loader": "8.0.2", | ||
| "vitest": "^0.9.3", | "script-ext-html-webpack-plugin": "2.1.3", | ||
| "vue-tsc": "^0.34.6" | "serve-static": "1.13.2", | ||
| "svg-sprite-loader": "4.1.3", | |||
| "svgo": "1.2.2", | |||
| "vue-template-compiler": "2.6.10" | |||
| }, | }, | ||
| "author": { | "browserslist": [ | ||
| "email": "18x@loacg.com", | "> 1%", | ||
| "name": "Sendya", | "last 2 versions" | ||
| "url": "https://github.com/sendya" | ], | ||
| "engines": { | |||
| "node": ">=8.9", | |||
| "npm": ">= 3.0.0" | |||
| }, | }, | ||
| "vite": { | "license": "MIT" | ||
| "optimizeDeps": { | |||
| "include": [ | |||
| "@ant-design-vue/pro-layout", | |||
| "ant-design-vue/es", | |||
| "vue", | |||
| "vue-router" | |||
| ] | |||
| } | |||
| } | |||
| } | } |
pnpm-lock.yaml
deleted
100644 → 0
postcss.config.js
0 → 100644
public/favicon.svg
deleted
100644 → 0
public/index.html
0 → 100644
src/api/menu.js
0 → 100644
src/api/table.js
0 → 100644
src/api/user.js
0 → 100644
95.8 KB
4.65 KB
src/assets/logo.png
deleted
100644 → 0
6.69 KB
src/components.d.ts
deleted
100644 → 0
src/icons/index.js
0 → 100644
src/icons/svg/dashboard.svg
0 → 100644
src/icons/svg/example.svg
0 → 100644
src/icons/svg/eye-open.svg
0 → 100644
src/icons/svg/eye.svg
0 → 100644
src/icons/svg/form.svg
0 → 100644
src/icons/svg/link.svg
0 → 100644
src/icons/svg/nested.svg
0 → 100644
src/icons/svg/password.svg
0 → 100644
src/icons/svg/table.svg
0 → 100644
src/icons/svg/tree.svg
0 → 100644
src/icons/svg/user.svg
0 → 100644
src/icons/svgo.yml
0 → 100644
src/layout/RouteView.vue
0 → 100644
src/layout/index.vue
0 → 100644
src/main.js
0 → 100644
src/main.ts
deleted
100644 → 0
src/permission.js
0 → 100644
src/router/config.js
0 → 100644
src/router/index.js
0 → 100644
src/router/index.ts
deleted
100644 → 0
src/settings.js
0 → 100644
src/store/getters.js
0 → 100644
src/store/index.js
0 → 100644
src/store/modules/app.js
0 → 100644
src/store/modules/user.js
0 → 100644
src/styles/element-ui.scss
0 → 100644
src/styles/index.scss
0 → 100644
src/styles/mixin.scss
0 → 100644
src/styles/sidebar.scss
0 → 100644
src/styles/transition.scss
0 → 100644
src/styles/variables.scss
0 → 100644
src/utils/auth.js
0 → 100644
src/utils/get-page-title.js
0 → 100644
src/utils/index.js
0 → 100644
src/utils/request.js
0 → 100644
src/utils/util.js
0 → 100644
src/utils/validate.js
0 → 100644
src/views/404.vue
0 → 100644
src/views/Detail.vue
deleted
100644 → 0
src/views/Page1.vue
deleted
100644 → 0
src/views/Page2.vue
deleted
100644 → 0
src/views/form/index.vue
0 → 100644
src/views/login/index.vue
0 → 100644
src/views/table/index.vue
0 → 100644
src/views/tree/index.vue
0 → 100644
tests/unit/.eslintrc.js
0 → 100644
tsconfig.app.json
deleted
100644 → 0
tsconfig.json
deleted
100644 → 0
vite.config.ts
deleted
100644 → 0
vue.config.js
0 → 100644