No description
Find a file
2025-12-04 00:05:35 +08:00
src first commit 2025-11-27 01:23:00 +01:00
index.html first commit 2025-11-27 01:23:00 +01:00
README.md Aggiorna README.md 2025-12-04 00:05:35 +08:00
vite.config.js first commit 2025-11-27 01:23:00 +01:00

Client Webauthn con vite

npm create vite@latest webauthn-clien

scegliere

vanilla js no yes

entrare nellaa cartella salvare con altro nome i file index.html src/main.js

ed inserire quelli nuovi compreso vite.config.js con quelli del git

cd  webauthn-client
mv index.html index.html.old
mv src/main.js src/main.js.old

nano index.html
nano src/main.js
nano vite.config.json

in vite.config.js ci sono host e porta

installare

npm install @simplewebauthn/browser

poi lanciare in modalità sviluppo

npm run dev

oppure costruirlo

npm run build

e poi avviarlo

npm run preview