build: project initialization
parents
Showing
.editorconfig
0 → 100644
.env.development
0 → 100644
.env.production
0 → 100644
.gitignore
0 → 100644
.husky/commit-msg
0 → 100644
.husky/pre-commit
0 → 100644
.stylelintignore
0 → 100644
.vscode/extensions.json
0 → 100644
.vscode/settings.json
0 → 100644
Dockerfile
0 → 100644
build/index.ts
0 → 100644
build/plugins.ts
0 → 100644
commitlint.config.ts
0 → 100644
eslint.config.js
0 → 100644
index.html
0 → 100644
lint-staged.config.js
0 → 100644
package.json
0 → 100644
| { | ||
| "name": "hxyj-admin-fe", | ||
| "private": true, | ||
| "version": "0.0.1", | ||
| "type": "module", | ||
| "scripts": { | ||
| "dev": "vite", | ||
| "build": "npm run build:uat", | ||
| "build:sit": "vue-tsc --noEmit && vite build --mode development", | ||
| "build:uat": "vue-tsc --noEmit && vite build", | ||
| "preview": "vite preview", | ||
| "lint:lint-staged": "lint-staged -c ./lint-staged.config.js", | ||
| "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"", | ||
| "lint:stylelint": "stylelint \"./src/**/*.{html,vue,css,scss}\" --fix", | ||
| "prepare": "husky", | ||
| "preinstall": "npx only-allow pnpm" | ||
| }, | ||
| "dependencies": { | ||
| "@icon-park/vue-next": "^1.4.2", | ||
| "@tailwindcss/vite": "^4.1.8", | ||
| "@vueuse/core": "^13.3.0", | ||
| "axios": "^1.9.0", | ||
| "element-plus": "^2.9.11", | ||
| "nanoid": "^5.1.5", | ||
| "nprogress": "^0.2.0", | ||
| "pinia": "^3.0.2", | ||
| "tailwindcss": "^4.1.8", | ||
| "tippy.js": "^6.3.7", | ||
| "vue": "^3.5.16", | ||
| "vue-i18n": "^11.1.5", | ||
| "vue-router": "^4.5.1", | ||
| "vue-tippy": "^6.7.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@commitlint/cli": "^19.8.1", | ||
| "@commitlint/config-conventional": "^19.8.1", | ||
| "@commitlint/types": "^19.8.1", | ||
| "@intlify/unplugin-vue-i18n": "^6.0.8", | ||
| "@types/node": "^22.15.29", | ||
| "@types/nprogress": "^0.2.3", | ||
| "@typescript-eslint/parser": "^8.33.1", | ||
| "@vitejs/plugin-vue": "^5.2.4", | ||
| "autoprefixer": "^10.4.21", | ||
| "eslint": "^9.28.0", | ||
| "eslint-config-prettier": "^10.1.5", | ||
| "eslint-plugin-prettier": "^5.4.1", | ||
| "eslint-plugin-vue": "^10.1.0", | ||
| "globals": "^16.2.0", | ||
| "husky": "^9.1.7", | ||
| "lint-staged": "^16.1.0", | ||
| "postcss-html": "^1.8.0", | ||
| "prettier": "^3.5.3", | ||
| "prettier-plugin-tailwindcss": "^0.6.12", | ||
| "rollup-plugin-visualizer": "^6.0.1", | ||
| "stylelint": "^16.20.0", | ||
| "stylelint-config-recess-order": "^6.0.0", | ||
| "stylelint-config-recommended-vue": "^1.6.0", | ||
| "stylelint-config-standard": "^38.0.0", | ||
| "stylelint-order": "^7.0.0", | ||
| "typescript": "^5.8.3", | ||
| "typescript-eslint": "^8.33.1", | ||
| "unplugin-auto-import": "^19.3.0", | ||
| "unplugin-vue-components": "^28.7.0", | ||
| "vite": "^6.3.5", | ||
| "vite-plugin-checker": "^0.9.3", | ||
| "vue-eslint-parser": "^10.1.3", | ||
| "vue-tsc": "^2.2.10" | ||
| }, | ||
| "engines": { | ||
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0", | ||
| "pnpm": ">=9" | ||
| }, | ||
| "volta": { | ||
| "node": "20.19.1" | ||
| } | ||
| } |
pnpm-lock.yaml
0 → 100644
This diff is collapsed.
prettier.config.js
0 → 100644
src/apis/user.ts
0 → 100644
src/app.vue
0 → 100644
src/assets/svgs/404.svg
0 → 100644
This diff is collapsed.
src/assets/svgs/500.svg
0 → 100644
This diff is collapsed.
src/assets/svgs/login-bg.svg
0 → 100644
This diff is collapsed.
src/config/app-config.json
0 → 100644
src/config/base-url.ts
0 → 100644
src/config/theme-config.ts
0 → 100644
src/layout/index.vue
0 → 100644
src/locales/index.ts
0 → 100644
src/locales/langs/zh-cn.yaml
0 → 100644
src/locales/langs/zh-hk.yaml
0 → 100644
src/locales/messages.ts
0 → 100644
src/main.ts
0 → 100644
src/router/guards.ts
0 → 100644
src/router/index.ts
0 → 100644
src/router/modules/base.ts
0 → 100644
src/router/modules/home.ts
0 → 100644
src/router/utils.ts
0 → 100644
src/store/index.ts
0 → 100644
src/store/modules/app.ts
0 → 100644
src/store/modules/user.ts
0 → 100644
src/store/types/app.ts
0 → 100644
src/store/types/user.ts
0 → 100644
src/styles/app.css
0 → 100644
src/styles/base.css
0 → 100644
src/styles/element-theme.css
0 → 100644
src/styles/nprogress.css
0 → 100644
src/styles/reset.css
0 → 100644
src/styles/theme.css
0 → 100644
src/styles/utilities.css
0 → 100644
src/utils/is.ts
0 → 100644
src/utils/request.ts
0 → 100644
src/utils/storage-key.ts
0 → 100644
src/utils/storage.ts
0 → 100644
src/utils/tippy.ts
0 → 100644
src/utils/tree.ts
0 → 100644
src/views/exception/404.vue
0 → 100644
src/views/exception/500.vue
0 → 100644
src/views/home/home.vue
0 → 100644
src/views/login/login.vue
0 → 100644
stylelint.config.js
0 → 100644
tsconfig.app.json
0 → 100644
tsconfig.json
0 → 100644
tsconfig.node.json
0 → 100644
types/global.d.ts
0 → 100644
types/locales.d.ts
0 → 100644
types/module.d.ts
0 → 100644
types/router.d.ts
0 → 100644
types/vite-env.d.ts
0 → 100644
vite.config.ts
0 → 100644
Please
register
or
sign in
to comment