build: init project
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": "digital-person-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.9", | ||
"@vueuse/core": "^10.11.1", | ||
"axios": "^1.7.7", | ||
"nanoid": "^5.0.7", | ||
"pinia": "^2.2.2", | ||
"vue": "^3.5.3", | ||
"vue-router": "^4.4.3" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^19.4.1", | ||
"@commitlint/config-conventional": "^19.4.1", | ||
"@commitlint/types": "^19.0.3", | ||
"@types/node": "^20.16.5", | ||
"@typescript-eslint/parser": "^7.18.0", | ||
"@unocss/eslint-config": "^0.61.9", | ||
"@vitejs/plugin-vue": "^4.6.2", | ||
"autoprefixer": "^10.4.20", | ||
"eslint": "^9.9.1", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-vue": "^9.28.0", | ||
"globals": "^15.9.0", | ||
"husky": "^9.1.5", | ||
"lint-staged": "^15.2.10", | ||
"naive-ui": "^2.39.0", | ||
"postcss": "^8.4.45", | ||
"postcss-html": "^1.7.0", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-tailwindcss": "^0.6.6", | ||
"rollup-plugin-visualizer": "^5.12.0", | ||
"sass": "^1.78.0", | ||
"stylelint": "^16.9.0", | ||
"stylelint-config-recess-order": "^4.6.0", | ||
"stylelint-config-recommended-scss": "^14.1.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.4", | ||
"typescript-eslint": "^7.18.0", | ||
"unocss": "^0.61.9", | ||
"unplugin-auto-import": "^0.17.8", | ||
"unplugin-vue-components": "^0.26.0", | ||
"vite": "^5.4.3", | ||
"vite-plugin-checker": "^0.7.2", | ||
"vue-eslint-parser": "^9.4.3", | ||
"vue-tsc": "~2.0.29" | ||
}, | ||
"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/apis/user.ts
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/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/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