@appril/vue-alert

Alert component for Appril apps

Usage no npm install needed!

<script type="module">
  import apprilVueAlert from 'https://cdn.skypack.dev/@appril/vue-alert';
</script>

README

Alert component for Appril apps

Install

  1. Edit base/app/vue/plugins.ts
import Alert from '@appril/vue-alert'
Vue.use(Alert)
  1. Add <vue-alert></vue-alert> at the very top of base/layouts/client.html

At the very top cause it register a store module that should be available before other components mounted.