import {
  warn,
  success,
  error
} from './message.js'
import './message.vue'

export const install = (Vue) => {
  Vue.prototype.$warn = warn
  Vue.prototype.$success = success
  Vue.prototype.$error = error
}

export default {
  install,
  warn,
  success,
  error
}
