Skip to content

Commit d41c89b

Browse files
committed
ESLINT is AWESOME!
1 parent 166e354 commit d41c89b

File tree

10 files changed

+1026
-860
lines changed

10 files changed

+1026
-860
lines changed

src/App.vue

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
<template>
22
<div id="app">
33
<div class="logout">
4-
<router-link v-if="authenticated" to="/login" v-on:click.native="logout()" replace>Logout</router-link>
4+
<router-link
5+
v-if="authenticated"
6+
to="/login"
7+
v-on:click.native="logout()"
8+
replace
9+
>Logout</router-link
10+
>
511
</div>
612
<router-view @authenticated="setAuthenticated" />
713
</div>
814
</template>
915

1016
<script>
11-
import usersObj from '@/data/User.json';
17+
import usersObj from "@/data/User.json";
1218
export default {
13-
name: 'App',
19+
name: "App",
1420
data() {
1521
return {
1622
authenticated: false,
1723
mockAccounts: usersObj
18-
}
24+
};
1925
},
2026
mounted() {
2127
if (!this.authenticated) {
@@ -30,14 +36,14 @@ export default {
3036
this.authenticated = false;
3137
}
3238
}
33-
}
39+
};
3440
</script>
3541

36-
3742
<style lang="scss">
3843
#app {
3944
-webkit-font-smoothing: antialiased;
4045
-moz-osx-font-smoothing: grayscale;
46+
-webkit-overflow-scrolling: touch;
4147
text-align: center;
4248
color: #2c3e50;
4349

0 commit comments

Comments
 (0)