[+] Add vue-cookies to Vue.use()
This commit is contained in:
@@ -3,6 +3,7 @@ import ElementUI from 'element-ui';
|
|||||||
const VCharts = require('v-charts');
|
const VCharts = require('v-charts');
|
||||||
|
|
||||||
import App from './components/app/app.vue';
|
import App from './components/app/app.vue';
|
||||||
|
import VueCookies from 'vue-cookies';
|
||||||
|
|
||||||
Vue.config.productionTip = false;
|
Vue.config.productionTip = false;
|
||||||
|
|
||||||
@@ -12,6 +13,9 @@ Vue.use(ElementUI, {locale: 'en-us'});
|
|||||||
// Use VCharts
|
// Use VCharts
|
||||||
Vue.use(VCharts);
|
Vue.use(VCharts);
|
||||||
|
|
||||||
|
// Use Cookies
|
||||||
|
Vue.use(VueCookies);
|
||||||
|
|
||||||
// Init app
|
// Init app
|
||||||
new Vue({
|
new Vue({
|
||||||
render: (h) => h(App),
|
render: (h) => h(App),
|
||||||
|
|||||||
Reference in New Issue
Block a user