Skip to content

Commit 3468989

Browse files
committed
added file for prettier rules
1 parent 45c28ad commit 3468989

File tree

6 files changed

+44
-38
lines changed

6 files changed

+44
-38
lines changed

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"tabWidth": 4,
3+
"useTabs": false
4+
}

.prettierrc.json

-20 Bytes
Binary file not shown.

src/components/Home.vue

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
<template>
2-
<v-layout>
3-
<v-navigation-drawer color="grey-darken-2" permanent></v-navigation-drawer>
4-
<v-app-bar color="grey-lighten-2">
5-
<h2>{{ title }}</h2>
6-
</v-app-bar>
7-
<v-main>
8-
<v-card height="200px"></v-card>
9-
</v-main>
10-
</v-layout>
2+
<v-layout>
3+
<v-navigation-drawer
4+
color="grey-darken-2"
5+
permanent
6+
></v-navigation-drawer>
7+
<v-app-bar color="grey-lighten-2">
8+
<h2>{{ title }}</h2>
9+
</v-app-bar>
10+
<v-main>
11+
<v-card height="200px"></v-card>
12+
</v-main>
13+
</v-layout>
1114
</template>
1215

1316
<script lang="ts" setup>
14-
15-
import { HomeStore } from '../store/Home'
17+
import { HomeStore } from "../store/Home";
1618
1719
const main = HomeStore();
18-
const { title } = main
19-
</script>
20+
const { title } = main;
21+
</script>

src/components/Simulator.vue

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<template>
2-
<v-layout>
3-
<v-navigation-drawer color="grey-darken-2" permanent></v-navigation-drawer>
4-
<v-app-bar color="grey-lighten-2">
5-
<h2>Welcome to CircuitVerse Simulator Page</h2>
6-
</v-app-bar>
7-
<v-main>
8-
<v-card height="200px"></v-card>
9-
</v-main>
10-
</v-layout>
2+
<v-layout>
3+
<v-navigation-drawer
4+
color="grey-darken-2"
5+
permanent
6+
></v-navigation-drawer>
7+
<v-app-bar color="grey-lighten-2">
8+
<h2>Welcome to CircuitVerse Simulator Page</h2>
9+
</v-app-bar>
10+
<v-main> <v-card height="200px"> </v-card> </v-main>
11+
</v-layout>
1112
</template>
1213

13-
<script lang="ts" setup>
14-
15-
</script>
14+
<script lang="ts" setup></script>

src/plugins/vuetify.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
// Styles
2-
import '@mdi/font/css/materialdesignicons.css'
3-
import 'vuetify/styles'
2+
import "@mdi/font/css/materialdesignicons.css";
3+
import "vuetify/styles";
44

55
// Vuetify
6-
import { createVuetify } from 'vuetify'
6+
import { createVuetify } from "vuetify";
77

8-
export default createVuetify(
9-
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
10-
)
8+
export default createVuetify();
9+
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides

src/plugins/webfontloader.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44
* webfontloader documentation: https://github.com/typekit/webfontloader
55
*/
66

7-
export async function loadFonts () {
8-
const webFontLoader = await import(/* webpackChunkName: "webfontloader" */'webfontloader')
7+
export async function loadFonts() {
8+
const webFontLoader = await import(
9+
/* webpackChunkName: "webfontloader" */ "webfontloader"
10+
);
911

10-
webFontLoader.load({
11-
google: {
12-
families: ['Roboto:100,300,400,500,700,900&display=swap'],
13-
},
14-
})
12+
webFontLoader.load({
13+
google: {
14+
families: ["Roboto:100,300,400,500,700,900&display=swap"],
15+
},
16+
});
1517
}

0 commit comments

Comments
 (0)