install and init vue-toasted
This commit is contained in:
Generated
+5
@@ -7220,6 +7220,11 @@
|
||||
"integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==",
|
||||
"dev": true
|
||||
},
|
||||
"vue-toasted": {
|
||||
"version": "1.1.27",
|
||||
"resolved": "https://registry.npmjs.org/vue-toasted/-/vue-toasted-1.1.27.tgz",
|
||||
"integrity": "sha512-GVbwInwnqkVxQ4GU/XYeQt1e0dAXL8sF5Hr1H/coCBbYUan5xP0G2mEz/HRDf1lt73rFQAN/bJcLTOKkqiM6tg=="
|
||||
},
|
||||
"watchpack": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz",
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"dependencies": {
|
||||
"v-clipboard": "^2.2.2",
|
||||
"vue": "^2.6.10",
|
||||
"vue-toasted": "^1.1.27",
|
||||
"webextension-polyfill": "^0.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import Vue from 'vue'
|
||||
import App from './App'
|
||||
import Clipboard from 'v-clipboard'
|
||||
import Toasted from 'vue-toasted';
|
||||
|
||||
|
||||
|
||||
@@ -8,6 +9,8 @@ global.browser = require('webextension-polyfill')
|
||||
Vue.prototype.$browser = global.browser
|
||||
|
||||
Vue.use(Clipboard)
|
||||
Vue.use(Toasted, {duration: 1000})
|
||||
|
||||
|
||||
|
||||
/* eslint-disable no-new */
|
||||
|
||||
Reference in New Issue
Block a user