1.0.1 • Published 2 years ago

@tinyapps/ie-alert v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

IE Alert

This little vue component is based on the 98.css library and shows a nice Windows 98 style alert to visitors that are still using the Internet Explorer.

image

Installation

yarn add @tinyapps/ie-alert or npm i @tinyapps/ie-alert

Usage
<template>
	<div id="app">
		<ie-alert />
		<!-- your app -->
	</div>
</template>

<script>
import Vue from 'vue'
import IeAlert from '@tinyapps/ie-alert'

export default {
	name: 'app',
	components: {
		IeAlert,
	},
}
</script>

You can also use <ie-alert always-visible /> to test, always show the alert or combine it with your own v-if condition.

Make sure to use scoped styling for your app that doesn't overwrite the windows 98 styling of the alert.

1.0.1

2 years ago

1.0.0

2 years ago