mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[Readme] Pushed readme and fixed errors
This commit is contained in:
1 parent
d76f4258f7
commit
9af01fc34b
3 files changed
+14
-2
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Initial stup
|
||||
1. `cd ./app`
|
||||
2. `npm i`
|
||||
|
||||
# Dev serve
|
||||
1. `npm run serve`
|
||||
|
||||
# Build on server
|
||||
1. `cd ./app`
|
||||
2. `npm i`
|
||||
3. `npm run build`
|
||||
4. `cp -r dist/* ../`
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
export default {
|
||||
parseErrors(errors) {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
return Object.values(errors).map(error => error?.$message).join(', ')
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<v-form>
|
||||
<v-text-field v-model="form.email" label="E-mail" variant="solo" autocomplete="off" class="mb-2" bg-color="white" :hint="v$.form.email.$errors ? parseErrors(v$.form.email.$errors) : null" :class="{ error: v$.form.email.$errors.length }" />
|
||||
<v-text-field v-model="form.email" label="E-mail" variant="solo" autocomplete="off" class="mb-2" bg-color="white" :hint="v$.form.email.$errors ? errorUtils.parseErrors(v$.form.email.$errors) : null" :class="{ error: v$.form.email.$errors.length }" />
|
||||
|
||||
<v-text-field v-model="form.password" :type="showPassword ? 'text' : 'password'" variant="solo" bg-color="white" class="mb-2" :counter="8" label="Heslo" autocomplete="off" :hint="v$.form.password.$errors ? errorUtils.parseErrors(v$.form.password.$errors) : null"
|
||||
:class="{ error: v$.form.password.$errors.length }" :append-icon="showPassword ? 'mdi-eye' : 'mdi-eye-off'" @click:append="showPassword = !showPassword" />
|
||||
|
||||
Reference in new issue
Block a user