removed vuejs logger completely, upgraded to vue 4.x validation not yet working
This commit is contained in:
13
src/main.ts
13
src/main.ts
@@ -11,7 +11,7 @@ import VueLogger from 'vuejs-logger';
|
||||
import VueSocketIOExt from 'vue-socket.io-extended';
|
||||
import io from 'socket.io-client';
|
||||
import i18n from '@/plugins/i18n';
|
||||
import VeeValidate from 'vee-validate';
|
||||
import { ValidationProvider } from 'vee-validate';
|
||||
// @ts-ignore
|
||||
import FlagIcon from 'vue-flag-icon';
|
||||
// @ts-ignore
|
||||
@@ -55,7 +55,8 @@ import {
|
||||
faThumbsDown,
|
||||
} from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
// import { faOpenId } from '@fortawesome/free-brands-svg-icons';
|
||||
import { faOpenid,
|
||||
} from '@fortawesome/free-brands-svg-icons';
|
||||
import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome';
|
||||
|
||||
|
||||
@@ -70,7 +71,7 @@ Vue.prototype.$isProduction = isProduction;
|
||||
|
||||
library.add(faCoffee, faTrash, faPencilAlt, faScroll, faCheck, faCircle, faList, faPlus, faDoorOpen, faCogs, faAt,
|
||||
faUser, faEnvelope, faUserTag, faExternalLinkAlt, faSync, faHome, faCode, faBarcode, faTag, faTags, faVideo, faLock,
|
||||
faLockOpen, faArrowCircleLeft, faArrowCircleRight, faWrench, faPlay, faFrown, faSmile, faThumbsUp, faThumbsDown);
|
||||
faLockOpen, faArrowCircleLeft, faArrowCircleRight, faWrench, faPlay, faFrown, faSmile, faThumbsUp, faThumbsDown, faOpenid);
|
||||
|
||||
Vue.component('font-awesome-icon', FontAwesomeIcon);
|
||||
|
||||
@@ -85,15 +86,17 @@ const loggerOptions = {
|
||||
showConsoleColors: true,
|
||||
};
|
||||
|
||||
Vue.use(VueLogger, loggerOptions);
|
||||
//Vue.use(VueLogger, loggerOptions);
|
||||
Vue.use(VueAxios, axios);
|
||||
Vue.use(BootstrapVue);
|
||||
Vue.use(FlagIcon);
|
||||
Vue.use(VueCookies);
|
||||
Vue.use(VueSweetalert2);
|
||||
Vue.use(VeeValidate);
|
||||
// Vue.use(VeeValidate);
|
||||
Vue.use(VueMoment);
|
||||
|
||||
Vue.component('ValidationProvider', ValidationProvider);
|
||||
|
||||
// const socket = io('ws://localhost:5000',{autoConnect: false, reconnectionAttempts: 3});
|
||||
const socket = io('ws://localhost:5443', {
|
||||
autoConnect: false,
|
||||
|
||||
Reference in New Issue
Block a user