Skip to content

This is a Vue3 / SPA sample implementation of a process that determines that a newer version is available and asks the user if there wants to upgrade.

Notifications You must be signed in to change notification settings

longrun/vue3-spa-version-update-confirmation

Repository files navigation

Vue3 SPA vesion up confirmation

This is a Vue 3 / SPA sample implementation of a process that determines that a newer version is available and asks the user if there wants to upgrade.

screenshot

Using

  • Vue 3
  • Vite
  • Pinia

``

SPA application version management strategy

Bump a version of manualy.

npm version (major|minor|patch)

Generate to public/latestversion.json that can access by this app can access.

grep -e '"version":' package.json | sed -e 's/^/{/' | sed -e 's/[,]/}/' > public/latestversion.json

... or Auto generate by GitHub Actions.

And you going to push the code.

Thaks for

About

This is a Vue3 / SPA sample implementation of a process that determines that a newer version is available and asks the user if there wants to upgrade.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published