{"id":19990214,"url":"https://github.com/ediaos/vue-cli3-ssr-project","last_synced_at":"2025-05-04T09:34:46.058Z","repository":{"id":117358028,"uuid":"166027230","full_name":"ediaos/vue-cli3-ssr-project","owner":"ediaos","description":"基于 VUE CLI3 SSR 工程化项目","archived":false,"fork":false,"pushed_at":"2023-11-10T05:20:55.000Z","size":386,"stargazers_count":93,"open_issues_count":1,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-13T04:52:15.798Z","etag":null,"topics":["ssr","vue","vue-cli3","vue-ssr"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ediaos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-01-16T11:16:35.000Z","updated_at":"2023-12-01T16:21:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"26fa00f2-247d-4354-ac7e-8c4c83abfc1b","html_url":"https://github.com/ediaos/vue-cli3-ssr-project","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ediaos%2Fvue-cli3-ssr-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ediaos%2Fvue-cli3-ssr-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ediaos%2Fvue-cli3-ssr-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ediaos%2Fvue-cli3-ssr-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ediaos","download_url":"https://codeload.github.com/ediaos/vue-cli3-ssr-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252316829,"owners_count":21728521,"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":["ssr","vue","vue-cli3","vue-ssr"],"created_at":"2024-11-13T04:51:03.716Z","updated_at":"2025-05-04T09:34:46.042Z","avatar_url":"https://github.com/ediaos.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# vue-cli3-ssr-project\n\n基于 Vue-Cli3 改造的 SSR 服务端渲染项目，目的是改造成可用于工程上\n\n- 基于 Cli3 进行改造的前后端渲染项目\n- 支持最新的 Vue 版本 v2.6.0+ , 支持 serverPrefetch\n- 支持通过配置决定 Page 是否服务端渲染\n- 使用 KOA 作为 server 端框架\n- PM2 配置支持\n- 支持前端渲染基于路由变更后再请求数据，用户体验更好\n- 优化基于 cli3 的环境配置，改为 config 文件中配置，包括 cdn 地址支持\n- 优化 dev 开发 ssr，通过双启动(ssr-server \u0026 client-dev-server)方式，实现前后端 dev 开发无感知,解决方案更加优雅\n- SEO 的支持，支持 tkd 以及 head 附加\n\n## v0.4.0\n\n- fix spa fetchDataMounted bug\n- add prettier and format\n- 控制 SSR 渲染不加载 三方 CSS 文件，改为 preload 加载\n\n## v0.3.4\n\n- update npm package version\n\n## v0.3.3\n\n- FIX DEV SOCKET BUG: WebSocket failed: Connection closed before receiving a handshake response `ADD SOCKET PROXY FOR DEV`\n\n## v0.3.1\n\n- fix tdk bug\n\n## v0.3.0\n\n- add serverPrefetch for ssr , rm async data\n\n## v0.2.1\n\n- add critical css to ssr\n- fix enable map file on ssr runtime bug\n\n## v0.2.0\n\n- update to Vue v2.6.0+\n\n## Project setup\n\n```\nnpm install\n```\n\n### Compiles and hot-reloads for development\n\n```\nnpm run dev\n```\n\n### Compiles and minifies for production\n\n```\nnpm run build\n```\n\n### Run your tests\n\n```\nnpm run test\n```\n\n### Lints and fixes files\n\n```\nnpm run lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fediaos%2Fvue-cli3-ssr-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fediaos%2Fvue-cli3-ssr-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fediaos%2Fvue-cli3-ssr-project/lists"}