Skip to content

Commit 468dd95

Browse files
committed
Now with lint / prettier formatting
1 parent c7431c6 commit 468dd95

File tree

6 files changed

+26
-26
lines changed

6 files changed

+26
-26
lines changed

src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<style>
1212
#app {
13-
font-family: "Avenir", Helvetica, Arial, sans-serif;
13+
font-family: 'Avenir', Helvetica, Arial, sans-serif;
1414
-webkit-font-smoothing: antialiased;
1515
-moz-osx-font-smoothing: grayscale;
1616
text-align: center;

src/components/HelloWorld.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131

3232
<script>
3333
export default {
34-
name: "HelloWorld",
34+
name: 'HelloWorld',
3535
props: {
3636
msg: String
3737
}
38-
};
38+
}
3939
</script>
4040

4141
<!-- Add "scoped" attribute to limit CSS to this component only -->

src/main.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import Vue from "vue";
2-
import App from "./App.vue";
3-
import router from "./router";
4-
import store from "./store";
1+
import Vue from 'vue'
2+
import App from './App.vue'
3+
import router from './router'
4+
import store from './store'
55

6-
Vue.config.productionTip = false;
6+
Vue.config.productionTip = false
77

88
new Vue({
99
router,
1010
store,
1111
render: h => h(App)
12-
}).$mount("#app");
12+
}).$mount('#app')

src/router.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
import Vue from "vue";
2-
import Router from "vue-router";
3-
import Home from "./views/Home.vue";
4-
import About from "./views/About.vue";
1+
import Vue from 'vue'
2+
import Router from 'vue-router'
3+
import Home from './views/Home.vue'
4+
import About from './views/About.vue'
55

6-
Vue.use(Router);
6+
Vue.use(Router)
77

88
export default new Router({
99
routes: [
1010
{
11-
path: "/",
12-
name: "home",
11+
path: '/',
12+
name: 'home',
1313
component: Home
1414
},
1515
{
16-
path: "/about",
17-
name: "about",
16+
path: '/about',
17+
name: 'about',
1818
component: About
1919
}
2020
]
21-
});
21+
})

src/store.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import Vue from "vue";
2-
import Vuex from "vuex";
1+
import Vue from 'vue'
2+
import Vuex from 'vuex'
33

4-
Vue.use(Vuex);
4+
Vue.use(Vuex)
55

66
export default new Vuex.Store({
77
state: {},
88
mutations: {},
99
actions: {}
10-
});
10+
})

src/views/Home.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
<script>
99
// @ is an alias to /src
10-
import HelloWorld from "@/components/HelloWorld.vue";
10+
import HelloWorld from '@/components/HelloWorld.vue'
1111
1212
export default {
13-
name: "home",
13+
name: 'home',
1414
components: {
1515
HelloWorld
1616
}
17-
};
17+
}
1818
</script>

0 commit comments

Comments
 (0)