Added extension recommand + code clean
This commit is contained in:
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"Vue.volar",
|
"Vue.volar",
|
||||||
"Vue.vscode-typescript-vue-plugin"
|
"dbaeumer.vscode-eslint",
|
||||||
|
"vuetifyjs.vuetify-vscode"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": true
|
"source.fixAll": "always",
|
||||||
|
"source.organizeImports": "always"
|
||||||
},
|
},
|
||||||
"eslint.validate": [
|
"eslint.validate": [
|
||||||
"javascript"
|
"javascript"
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useAuthStore } from '@/plugins/store/authStore';
|
import { useAuthStore } from '@/plugins/store/authStore';
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router';
|
||||||
|
|
||||||
const authStore = useAuthStore();
|
const authStore = useAuthStore();
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
label="password"
|
label="password"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-form>
|
</v-form>
|
||||||
<v-snackbar v-model="errorSnackBar">
|
<v-snackbar v-model="errorSnackBar">
|
||||||
Email ou mot de passe invalide.
|
Email ou mot de passe invalide.
|
||||||
<template v-slot:actions>
|
<template v-slot:actions>
|
||||||
<v-btn color="red" variant="text" @click="errorSnackBar = false">
|
<v-btn color="red" variant="text" @click="errorSnackBar = false">
|
||||||
@@ -39,10 +39,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { useClient } from '@/plugins/clientPlugin';
|
||||||
import { useAuthStore } from '@/plugins/store/authStore';
|
import { useAuthStore } from '@/plugins/store/authStore';
|
||||||
import { useClient } from '@/plugins/clientPlugin'
|
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router';
|
||||||
const authStore = useAuthStore();
|
const authStore = useAuthStore();
|
||||||
const client = useClient();
|
const client = useClient();
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|||||||
Reference in New Issue
Block a user