An open API service indexing awesome lists of open source software.

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.

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.

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