Upgrading an Outdated Vue.js Stack | Generated by AI

Home 2026.04

Here’s the picture:

Stack (circa 2016–2020):

Key architecture:


How to upgrade — two paths:

Option A: Incremental (safer)

  1. Upgrade Vue 1 → Vue 2 → Vue 3 (two-step)
  2. Upgrade vue-router, vue-resource → Vue 3 equivalents (vue-router@4, @vueuse/core or axios)
  3. Upgrade Webpack 1 → 4 → 5 (major pain, loader/plugin ecosystem changed completely)
  4. Replace deprecated babel-runtime with @babel/preset-env
  1. Bootstrap a new project with Vite (much faster than Webpack, easy config)
  2. Drop in Vue 3 + Composition API
  3. Replace vue-resource with axios
  4. Update hls.js to latest (was 0.7, now ~1.x)
  5. Drop plupload/qiniu — migrate to qiniu-js-sdk v2 or just use the current SDK
  6. Keep the views/components architecture but rewrite them in Vue 3 SFC syntax

Biggest risk: leancloud-realtime SDK may be incompatible with newer Node/bundlers. vue-resource is abandonware — axios is the drop-in replacement.

Which direction do you want to go?


Back Donate