{"repo":"ibwei/vue3-ts-base","free":true,"listed":false,"github":"https://github.com/ibwei/vue3-ts-base","clone":"git clone https://github.com/ibwei/vue3-ts-base.git","description":"一个基于vue3+typescript+ant-design-vue 搭建的基础代码库,有完善的类型系统，帮助快速搭建 vue3 的基础代码架构。","language":"TypeScript","stars":451,"topics":["vue3","vue3-demo","vue3-typescript","vue3-ant","vue3-tsx","vue","ant"],"license":"MIT","category":"ui-components","readme_excerpt":"vue3-ts-base Vue 3 + TypeScript 基础项目模板，内置路由、Vuex 状态管理、Ant Design Vue、国际化、Axios 请求封装、Less 主题、单元测试、提交规范和 CI。 Maintenance Status 本仓库从 2026-06 起恢复维护，当前目标是把这个早期 Vue 3 + TypeScript starter 重新整理成可稳定安装、验证和二次开发的开源模板。旧迁移公告中提到的社区仓库作为历史参考保留；本仓库继续作为 ibwei/vue3-ts-base 的主维护入口。 - Demo: https://ibwei.github.io/vue3-ts-base/ - Issues: https://github.com/ibwei/vue3-ts-base/issues - License: MIT Features - Vue 3 + TypeScript + Vue Router + Vuex - Ant Design Vue 组件接入和主题配置 - vue-composable 国际化示例 - Axios 请求实例、请求/响应拦截器和业务 API 分层 - 自动装载路由模块、Vuex modules 和插件入口 - Less 全局变量、Normalize、图标字体和资源目录约定 - Mocha + Chai + Vue Test Utils 单元测试 - ESLint、Prettier、Commitlint、Commitizen、Husky、lint-staged - GitHub Actions 执行 lint、test、build，并在 master 推送后部署 demo Requirements - Node.js = 18 - npm = 10 项目仍保留 Vue CLI 4 兼容层。为了兼容 Webpack 4 在现代 Node.js 下的 OpenSSL 行为，构建和测试脚本已经内置 NODE OPTIONS=--openssl-legacy-provider 。 Quick Start 生产构建： 完整验证： Scripts Script Description --- --- npm run serve 启动本地开发服务 npm run build 生成生产构建 npm run lint 本地 lint，可自动修复 npm run lint:ci CI 使用的只检查 lint npm run test:unit 执行单元测试 npm run test:api 执行 API/规则相关测试 npm run validate 依次执行 lint、unit test、build npm run analysis 构建并开启 bundle analyzer npm run docs 生成 TypeDoc 文档并启动文档服务 npm run changelog 生成 changelog npm run commit 使用 Commitizen 生成规范提交信息 Project Structure Development Notes - 当前版本优先解决可安装、可测试、可贡献的问题。 - 依赖大升级、Vue CLI 到 Vite 的迁移、Ant Design Vue 主版本升级应拆成单独 PR。 - 新增通用能力时，请同步补测试或文档说明。 - PR 前请运行 npm run validate 。 Roadmap - 处理历史 issue 和 open PR，标记可复现问题。 - 增加更多","default_branch":null,"files":null,"tree":[],"storefront":"/r/ibwei","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ibwei/vue3-ts-base/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}