chore: add prettier frontent linter

This commit is contained in:
Oleg Lobanov
2021-03-21 12:51:58 +01:00
parent a721dc1f31
commit c44b37c50c
73 changed files with 18898 additions and 4499 deletions

View File

@@ -1,18 +1,18 @@
<template>
<select v-on:change="change" :value="theme">
<option value="">{{ $t('settings.themes.light') }}</option>
<option value="dark">{{ $t('settings.themes.dark') }}</option>
<option value="">{{ $t("settings.themes.light") }}</option>
<option value="dark">{{ $t("settings.themes.dark") }}</option>
</select>
</template>
<script>
export default {
name: 'themes',
props: [ 'theme' ],
name: "themes",
props: ["theme"],
methods: {
change (event) {
this.$emit('update:theme', event.target.value)
}
}
}
</script>
change(event) {
this.$emit("update:theme", event.target.value);
},
},
};
</script>