@nasontech/nuxt-update-available

React to app updates
2,221
Install
npm install @nasontech/nuxt-update-available
Latest Version:0.0.2
Vue:3
License:MIT
Last Updated:Nov 12, 2024
Links: npm
Maintainer: bnason

Update Available

npm version npm downloads License Nuxt

React to app updates.

Features

Respond to new versions of your application.

Quick Setup

Install the module to your Nuxt application with one command:

npx nuxi module add @nasontech/nuxt-update-available

That's it! You can now use useUpdateAvailable() in your Nuxt app ✨

<script setup lang="ts">
const { updateAvailable } = useUpdateAvailable()
</script>

<template>
	<div>
		<NuxtRouteAnnouncer />

		<NuxtLayout>
			<NuxtPage />
		</NuxtLayout>

		<ClientOnly>
			<UpdateDialog :open="updateAvailable" />
		</ClientOnly>
	</div>
</template>

Contribution

Local development
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

Version History

Version Released Vue License
0.0.2 ^3.0 MIT
0.0.1 ^3.0 MIT