Added extension recommand + code clean

This commit is contained in:
Dominic Villemure
2024-03-11 22:08:24 -04:00
parent e7a3e4ab6e
commit bfef2b2d8c
4 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
{
"recommendations": [
"Vue.volar",
"Vue.vscode-typescript-vue-plugin"
"dbaeumer.vscode-eslint",
"vuetifyjs.vuetify-vscode"
]
}

View File

@@ -1,6 +1,7 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll": "always",
"source.organizeImports": "always"
},
"eslint.validate": [
"javascript"

View File

@@ -56,7 +56,7 @@
<script setup>
import { useAuthStore } from '@/plugins/store/authStore';
import { useRouter } from 'vue-router'
import { useRouter } from 'vue-router';
const authStore = useAuthStore();
const router = useRouter()

View File

@@ -16,7 +16,7 @@
label="password"
></v-text-field>
</v-form>
<v-snackbar v-model="errorSnackBar">
<v-snackbar v-model="errorSnackBar">
Email ou mot de passe invalide.
<template v-slot:actions>
<v-btn color="red" variant="text" @click="errorSnackBar = false">
@@ -39,10 +39,10 @@
</template>
<script setup>
import { useClient } from '@/plugins/clientPlugin';
import { useAuthStore } from '@/plugins/store/authStore';
import { useClient } from '@/plugins/clientPlugin'
import { ref } from 'vue';
import { useRouter } from 'vue-router'
import { useRouter } from 'vue-router';
const authStore = useAuthStore();
const client = useClient();
const router = useRouter()