{"id":18938817,"url":"https://github.com/bigcui/webpack5-vue3","last_synced_at":"2026-03-22T07:30:20.386Z","repository":{"id":80178213,"uuid":"485208194","full_name":"bigcui/webpack5-vue3","owner":"bigcui","description":"vite 和 webpack 双模式开发","archived":false,"fork":false,"pushed_at":"2022-04-25T03:48:39.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T22:11:11.745Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigcui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-25T03:19:28.000Z","updated_at":"2022-08-29T09:50:59.000Z","dependencies_parsed_at":"2023-03-12T10:18:39.699Z","dependency_job_id":null,"html_url":"https://github.com/bigcui/webpack5-vue3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcui%2Fwebpack5-vue3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcui%2Fwebpack5-vue3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcui%2Fwebpack5-vue3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcui%2Fwebpack5-vue3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigcui","download_url":"https://codeload.github.com/bigcui/webpack5-vue3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239937701,"owners_count":19721484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T12:15:33.068Z","updated_at":"2026-03-22T07:30:20.300Z","avatar_url":"https://github.com/bigcui.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"乾坤子应用模板\n\u003e Vue3 \u0026 TypeScript PC端代码库模板\n\n## 基本特性\n\n* 基于`Vue3`\n* 语言支持`JavaScript` \u0026 `TypeScript`\n* 打包工具支持`webpack 5` \u0026 `vite 2`\n* 支持`SFC` \u0026 `Jsx` \u0026 `Tsx`\n* 样式支持`less` \u0026 `sass`\n* 解决样式冲突支持`scoped` \u0026 `css modules`\n* 本地资源支持动态加载\n* `Element Plus`支持按需引入\n* 多`环境`\u0026`模式`打包配置\n* `CI/CD`相关脚本\n* `Jsx` \u0026 `Tsx`常用功能示例\n\n## Webpack 5打包架构图\n\n![Vue3TsTplWebpack5](https://raw.githubusercontent.com/shien7654321/ImageHosting/master/Images/Vue3TsTplWebpack5.png)\n\n## vite 2打包架构图\n\n![Vue3TsTplVite2](https://raw.githubusercontent.com/shien7654321/ImageHosting/master/Images/Vue3TsTplVite2.png)\n\n## Build Setup\n\n``` bash\n# 安装依赖\nyarn\n\n# 本地开发（webpack）\nyarn start-webpack\n\n# 本地打包（webpack）\nyarn build-webpack\n\n# 本地开发（vite）\nyarn start-vite\n\n# 本地预览（vite）\nyarn preview-vite\n\n# 本地打包（vite）\nyarn build-vite\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcui%2Fwebpack5-vue3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigcui%2Fwebpack5-vue3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcui%2Fwebpack5-vue3/lists"}