Answer the question
In order to leave comments, you need to log in
Is there a problem with the package or with me?
I import packages in main.js, everything was fine until I installed vue-full-calendar, just "Unexpected token import" gives out, if you comment out this import and remove FullCalendar from Vue.use, then everything works,
Repa help, if you need https https://github.com/CroudTech/vue-fullcalendar
import Vue from 'vue'
import axios from 'axios'
import Vuelidate from 'vuelidate'
/* Вот эта строчка все ломает -> */ import FullCalendar from 'vue-full-calendar'
import VueAWN from "vue-awesome-notifications"
require("vue-awesome-notifications/dist/styles/style.css");
require("font-awesome/css/font-awesome.css");
Vue.use(Vuelidate, FullCalendar);
let AWNoptions = {
position: 'top-right',
labels: {
success: 'Успешно',
alert: 'Ошибка'
}
}
Vue.use(VueAWN, AWNoptions)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question