Vue SDK
Vue 3 · LibreAuth native client
Vue
Vue 3
Setup Guide
Import libreauth.js · set VITE_API_URL in .env
- Panel → Manage Applications → copy name + ownerid
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
js/libreauth.js - Ed25519 key: /health · Response Signing
- Test: Live API · Init docs
Install / Dependencies
Terminal
npm i
# Import sdk/js/libreauth.js
Code Example
Vue
import LibreAuth from './libreauth.js';
const app = new LibreAuth('AppName', 'OWNER_ID_10', '1.0', import.meta.env.VITE_https://libreauth.nutexe.dev/api/1.3/);
await app.Init();