11 lines
222 B
JavaScript
11 lines
222 B
JavaScript
import Snackbar from './src/main.js';
|
|
import Vue from 'vue'
|
|
const install = () => {
|
|
Object.defineProperty(Vue.prototype, '$snackbar', {
|
|
get () {
|
|
return Snackbar
|
|
}
|
|
})
|
|
}
|
|
export default install;
|