https://github.com/longrun/vue3-spa-version-update-confirmation
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.
https://github.com/longrun/vue3-spa-version-update-confirmation
pinia vite vue3
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/longrun/vue3-spa-version-update-confirmation
- Owner: longrun
- Created: 2022-06-13T02:15:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-06T02:57:35.000Z (about 3 years ago)
- Last Synced: 2025-01-02T03:44:59.162Z (over 1 year ago)
- Topics: pinia, vite, vue3
- Language: TypeScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 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.

## 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
- [szboynono/mosha-vue-toastify](https://github.com/szboynono/mosha-vue-toastify)