build: 项目初始化
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
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": "poc-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": { | ||
| "@iconify/vue": "^4.1.2", | ||
| "@unocss/reset": "^0.61.3", | ||
| "@vueuse/core": "^10.11.0", | ||
| "axios": "^1.7.2", | ||
| "nanoid": "^5.0.7", | ||
| "pinia": "^2.1.7", | ||
| "vue": "^3.4.31", | ||
| "vue-i18n": "9", | ||
| "vue-router": "^4.4.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@commitlint/cli": "^19.3.0", | ||
| "@commitlint/config-conventional": "^19.2.2", | ||
| "@commitlint/types": "^19.0.3", | ||
| "@intlify/unplugin-vue-i18n": "^4.0.0", | ||
| "@types/node": "^20.14.10", | ||
| "@typescript-eslint/parser": "^7.15.0", | ||
| "@unocss/eslint-config": "^0.61.3", | ||
| "@vitejs/plugin-vue": "^4.6.2", | ||
| "autoprefixer": "^10.4.19", | ||
| "eslint": "^9.6.0", | ||
| "eslint-config-prettier": "^9.1.0", | ||
| "eslint-plugin-prettier": "^5.1.3", | ||
| "eslint-plugin-vue": "^9.27.0", | ||
| "globals": "^15.8.0", | ||
| "husky": "^9.0.11", | ||
| "lint-staged": "^15.2.7", | ||
| "naive-ui": "^2.38.2", | ||
| "postcss": "^8.4.39", | ||
| "postcss-html": "^1.7.0", | ||
| "prettier": "^3.3.2", | ||
| "prettier-plugin-tailwindcss": "^0.6.5", | ||
| "rollup-plugin-visualizer": "^5.12.0", | ||
| "sass": "^1.77.6", | ||
| "stylelint": "^16.6.1", | ||
| "stylelint-config-recess-order": "^4.6.0", | ||
| "stylelint-config-recommended-scss": "^14.0.0", | ||
| "stylelint-config-recommended-vue": "^1.5.0", | ||
| "stylelint-config-standard": "^36.0.1", | ||
| "stylelint-config-standard-scss": "^13.1.0", | ||
| "stylelint-order": "^6.0.4", | ||
| "typescript": "^5.5.3", | ||
| "typescript-eslint": "^7.15.0", | ||
| "unocss": "^0.61.3", | ||
| "unplugin-auto-import": "^0.17.6", | ||
| "unplugin-vue-components": "^0.26.0", | ||
| "vite": "^5.3.3", | ||
| "vite-plugin-checker": "^0.7.1", | ||
| "vue-eslint-parser": "^9.4.3", | ||
| "vue-tsc": "^2.0.26" | ||
| }, | ||
| "engines": { | ||
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0", | ||
| "pnpm": ">=9" | ||
| } | ||
| } |
pnpm-lock.yaml
0 → 100644
This diff is collapsed.
postcss.config.js
0 → 100644
prettier.config.js
0 → 100644
src/app.vue
0 → 100644
src/assets/images/logo.png
0 → 100644
50.2 KB
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.ts
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/index.scss
0 → 100644
src/styles/mixin.scss
0 → 100644
src/styles/reset.scss
0 → 100644
src/styles/variable.scss
0 → 100644
src/utils/create-discrete.ts
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/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
uno.config.ts
0 → 100644
vite.config.ts
0 → 100644