@tinyapps/ie-alert
v1.0.1
Published
This little vue component is based on the [98.css library](https://github.com/jdan/98.css) and shows a nice Windows 98 style alert to visitors that are still using the Internet Explorer.
Downloads
2
Readme
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.
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.