Aggiunte tante cose relative al profilo utente

This commit is contained in:
2022-06-13 02:36:31 +02:00
parent 39ad130e81
commit 1d61efeda0
11 changed files with 298 additions and 145 deletions
+16
View File
@@ -0,0 +1,16 @@
import Alpine from 'alpinejs'
Alpine.data('profilo', () => ({
init() {
console.log('Profilo!')
},
}))
Alpine.data('passwordForm', () => ({
password: '',
passwordAgain: '',
passwordSame: true,
onUpdate() {
this.passwordSame = this.password === this.passwordAgain
},
}))