No description
| src | ||
| index.html | ||
| README.md | ||
| vite.config.js | ||
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