From c9ea1557accb3882ccbd4fa4f5e841c3e9594a9c Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Mon, 17 Sep 2018 12:52:06 +0100 Subject: [PATCH] Fixed styling in frontend files. --- frontend/.jshintrc | 1 + frontend/src/main.js | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 frontend/.jshintrc diff --git a/frontend/.jshintrc b/frontend/.jshintrc new file mode 100644 index 0000000..1ba32c6 --- /dev/null +++ b/frontend/.jshintrc @@ -0,0 +1 @@ +{ "esversion":6 } \ No newline at end of file diff --git a/frontend/src/main.js b/frontend/src/main.js index 872ca8a..27ad172 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -2,18 +2,18 @@ import Vue from "vue"; import App from "./App.vue"; import router from "./router"; import store from "./store"; -import axios from 'axios'; -import VueAxios from 'vue-axios'; -import BootstrapVue from 'bootstrap-vue'; -import 'bootstrap/dist/css/bootstrap.css' -import 'bootstrap-vue/dist/bootstrap-vue.css' -import Icon from 'vue-awesome/components/Icon'; +import axios from "axios"; +import VueAxios from "vue-axios"; +import BootstrapVue from "bootstrap-vue"; +import "bootstrap/dist/css/bootstrap.css"; +import "bootstrap-vue/dist/bootstrap-vue.css"; +import Icon from "vue-awesome/components/Icon"; Vue.config.productionTip = false; axios.defaults.baseUrl = "http://localhost:8090/api"; Vue.use(VueAxios, axios); Vue.use(BootstrapVue); -Vue.component('v-icon', Icon); +Vue.component("v-icon", Icon); new Vue({ router,