This is an example demonstrating how to use the mlauth-js package to authenticate users with mlAuth in a Front-end setup involving Vite + Vue.
Add a .env file containing the client and secret keys from your mlAuth app
VITE_MLAUTH_CLIENT=mlauth-app-client-key
VITE_MLAUTH_SECRET=mlauth-app-secret-key
#npm
npm run install
#pnpm
pnpm install
# npm
npm run dev
# pnpm
pnpm dev