%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/home/forge/takeaseat.eco-n-tech.co.uk/node_modules/@nuxtjs/toast/
Upload File :
Create Path :
Current File : //proc/self/root/home/forge/takeaseat.eco-n-tech.co.uk/node_modules/@nuxtjs/toast/plugin.js

import Vue from 'vue'
import Toasted from 'vue-toasted'

Vue.use(Toasted, <%= serialize(options.toastOptions) %>)

const globals = <%= serialize(options.register) %>
if(globals) {
  globals.forEach(global => {
    Vue.toasted.register(global.name, global.message, global.options)
  })
}

export default function (ctx, inject) {
  inject('toast', Vue.toasted)
}

Zerion Mini Shell 1.0