Skip to content
Permalink
Browse files

Single quotes and semis fixed

  • Loading branch information...
davellanedam committed Feb 13, 2019
1 parent 3f58364 commit 935071cc9c33097b82c5468eb029bbd3583af395
@@ -3,12 +3,12 @@ module.exports = {
env: {
node: true
},
extends: ["plugin:vue/essential", "@vue/prettier"],
extends: ['plugin:vue/essential', '@vue/prettier'],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: "babel-eslint"
parser: 'babel-eslint'
}
};
}
@@ -1,3 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};
presets: ['@vue/app']
}
@@ -2,4 +2,4 @@ module.exports = {
plugins: {
autoprefixer: {}
}
};
}
@@ -17,16 +17,15 @@
</v-toolbar>

<v-content>
<router-view/>
<router-view />
</v-content>
</v-app>
</template>

<script>
export default {
name: 'App',
data () {
data() {
return {
//
}
@@ -1,9 +1,6 @@
<template>
<v-container>
<v-layout
text-xs-center
wrap
>
<v-layout text-xs-center wrap>
<v-flex xs12>
<v-img
:src="require('../assets/logo.svg')"
@@ -19,15 +16,14 @@
</h1>
<p class="subheading font-weight-regular">
For help and collaboration with other Vuetify developers,
<br>please join our online
<a href="https://community.vuetifyjs.com" target="_blank">Discord Community</a>
<br />please join our online
<a href="https://community.vuetifyjs.com" target="_blank"
>Discord Community</a
>
</p>
</v-flex>

<v-flex
mb-5
xs12
>
<v-flex mb-5 xs12>
<h2 class="headline font-weight-bold mb-3">What's next?</h2>

<v-layout justify-center>
@@ -43,10 +39,7 @@
</v-layout>
</v-flex>

<v-flex
xs12
mb-5
>
<v-flex xs12 mb-5>
<h2 class="headline font-weight-bold mb-3">Important Links</h2>

<v-layout justify-center>
@@ -62,10 +55,7 @@
</v-layout>
</v-flex>

<v-flex
xs12
mb-5
>
<v-flex xs12 mb-5>
<h2 class="headline font-weight-bold mb-3">Ecosystem</h2>

<v-layout justify-center>
@@ -85,63 +75,60 @@
</template>

<script>
export default {
data: () => ({
ecosystem: [
{
text: 'vuetify-loader',
href: 'https://github.com/vuetifyjs/vuetify-loader'
},
{
text: 'github',
href: 'https://github.com/vuetifyjs/vuetify'
},
{
text: 'awesome-vuetify',
href: 'https://github.com/vuetifyjs/awesome-vuetify'
}
],
importantLinks: [
{
text: 'Documentation',
href: 'https://vuetifyjs.com'
},
{
text: 'Chat',
href: 'https://community.vuetifyjs.com'
},
{
text: 'Made with Vuetify',
href: 'https://madewithvuetifyjs.com'
},
{
text: 'Twitter',
href: 'https://twitter.com/vuetifyjs'
},
{
text: 'Articles',
href: 'https://medium.com/vuetify'
}
],
whatsNext: [
{
text: 'Explore components',
href: 'https://vuetifyjs.com/components/api-explorer'
},
{
text: 'Select a layout',
href: 'https://vuetifyjs.com/layout/pre-defined'
},
{
text: 'Frequently Asked Questions',
href: 'https://vuetifyjs.com/getting-started/frequently-asked-questions'
}
]
})
}
export default {
data: () => ({
ecosystem: [
{
text: 'vuetify-loader',
href: 'https://github.com/vuetifyjs/vuetify-loader'
},
{
text: 'github',
href: 'https://github.com/vuetifyjs/vuetify'
},
{
text: 'awesome-vuetify',
href: 'https://github.com/vuetifyjs/awesome-vuetify'
}
],
importantLinks: [
{
text: 'Documentation',
href: 'https://vuetifyjs.com'
},
{
text: 'Chat',
href: 'https://community.vuetifyjs.com'
},
{
text: 'Made with Vuetify',
href: 'https://madewithvuetifyjs.com'
},
{
text: 'Twitter',
href: 'https://twitter.com/vuetifyjs'
},
{
text: 'Articles',
href: 'https://medium.com/vuetify'
}
],
whatsNext: [
{
text: 'Explore components',
href: 'https://vuetifyjs.com/components/api-explorer'
},
{
text: 'Select a layout',
href: 'https://vuetifyjs.com/layout/pre-defined'
},
{
text: 'Frequently Asked Questions',
href: 'https://vuetifyjs.com/getting-started/frequently-asked-questions'
}
]
})
}
</script>

<style>
</style>
<style></style>
@@ -1,14 +1,14 @@
import Vue from "vue";
import Vue from 'vue'
import './plugins/axios'
import './plugins/vuetify'
import App from "./App.vue";
import router from "./router";
import store from "./store";
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false;
Vue.config.productionTip = false

new Vue({
router,
store,
render: h => h(App)
}).$mount("#app");
}).$mount('#app')
@@ -1,7 +1,7 @@
"use strict";
'use strict'

import Vue from 'vue';
import axios from "axios";
import Vue from 'vue'
import axios from 'axios'

// Full config: https://github.com/axios/axios#request-config
// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';
@@ -12,50 +12,50 @@ let config = {
// baseURL: process.env.baseURL || process.env.apiUrl || ""
// timeout: 60 * 1000, // Timeout
// withCredentials: true, // Check cross-site Access-Control
};
}

const _axios = axios.create(config);
const _axios = axios.create(config)

_axios.interceptors.request.use(
function(config) {
// Do something before request is sent
return config;
return config
},
function(error) {
// Do something with request error
return Promise.reject(error);
return Promise.reject(error)
}
);
)

// Add a response interceptor
_axios.interceptors.response.use(
function(response) {
// Do something with response data
return response;
return response
},
function(error) {
// Do something with response error
return Promise.reject(error);
return Promise.reject(error)
}
);
)

Plugin.install = function(Vue, options) {
Vue.axios = _axios;
window.axios = _axios;
Vue.axios = _axios
window.axios = _axios
Object.defineProperties(Vue.prototype, {
axios: {
get() {
return _axios;
return _axios
}
},
$axios: {
get() {
return _axios;
return _axios
}
},
});
};
}
})
}

Vue.use(Plugin)

export default Plugin;
export default Plugin
@@ -3,5 +3,5 @@ import Vuetify from 'vuetify/lib'
import 'vuetify/src/stylus/app.styl'

Vue.use(Vuetify, {
iconfont: 'md',
iconfont: 'md'
})
@@ -1,24 +1,24 @@
import Vue from "vue";
import Router from "vue-router";
import Home from "./views/Home.vue";
import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'

Vue.use(Router);
Vue.use(Router)

export default new Router({
routes: [
{
path: "/",
name: "home",
path: '/',
name: 'home',
component: Home
},
{
path: "/about",
name: "about",
path: '/about',
name: 'about',
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () =>
import(/* webpackChunkName: "about" */ "./views/About.vue")
import(/* webpackChunkName: "about" */ './views/About.vue')
}
]
});
})
@@ -1,10 +1,10 @@
import Vue from "vue";
import Vuex from "vuex";
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);
Vue.use(Vuex)

export default new Vuex.Store({
state: {},
mutations: {},
actions: {}
});
})
@@ -3,11 +3,11 @@
</template>

<script>
import HelloWorld from '../components/HelloWorld'
import HelloWorld from '../components/HelloWorld'
export default {
components: {
HelloWorld
}
export default {
components: {
HelloWorld
}
}
</script>

0 comments on commit 935071c

Please sign in to comment.
You can’t perform that action at this time.