# staven630/vue-cli4-config

vue-cli4配置vue.config.js持续更新

Repository: https://github.com/staven630/vue-cli4-config
Canonical: https://ross.abutalabs.com/products/vue-cli4-config
Homepage: https://staven630.github.io/vue-cli4-config/
Language: JavaScript
License Family: other
Topics: vue-cli, vue, vue-cli3, prerender-spa-plugin, splitchunks, gzip
Last push: 2023-01-04T21:40:32+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2850, "days_push": 1337, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2646, forks 599 (observed 2026-08-28T04:07:06.739065+00:00)

## What it is
A continuously updated, comprehensive tutorial repository documenting vue-cli 4 (and vue-cli 3) vue.config.js configuration recipes. It covers environment variables, proxy, aliases, image compression, bundle analysis, splitChunks, gzip, prerendering, and static asset upload to OSS/OBS.

## Use cases
- configure vue.config.js for a vue-cli 4 project
- set up multi-environment variables with .env files
- enable gzip compression and splitChunks for production builds
- configure dev server proxy to avoid CORS during development
- add prerendering with prerender-spa-plugin
- remove console.log and analyze bundle size on build
- upload static assets to Alibaba OSS or Huawei OBS after build

## When to choose
- you are building with vue-cli 3/4 and need copy-paste config recipes
- you want a reference covering most common vue.config.js needs in one place
- you need Chinese-language guidance for Vue CLI build configuration

## When to avoid
- you are starting a new project with Vite instead of webpack-based vue-cli
- you want an installable library or starter template rather than a tutorial
- you need actively maintained config for Vue 3 tooling beyond vue-cli

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: build-tool, developer-tools, configuration-management, documentation
- domain: web-development, frontend, developer-tools, tutorials
- platform: cross-platform
- tags: vue-cli, vue-config-js, webpack, gzip, prerender, splitchunks, multi-page, proxy-cors, chinese-documentation, nodejs

## Member repositories
- staven630/vue-cli4-config (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.739065+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:59.001360+00:00, confidence not recorded.
  - readme: https://github.com/staven630/vue-cli4-config (fetched 2026-08-28T04:07:06.739065+00:00, sha bb778563f492)
  - homepage: https://staven630.github.io/vue-cli4-config/ (fetched 2026-08-29T10:02:05.416823+00:00, sha 2a1066b44b67)
- Data as of 2026-08-30T08:39:29.467469+00:00.
