The Logto Vue SDK written in TypeScript.
Check out our docs for more information.
npm install @logto/vueyarn add @logto/vuepnpm add @logto/vueA sample Vue project with the integration of @logto/vue SDK can be found at Vue Sample.
Check out the source code and try it with ease.
pnpm i && pnpm build
cd packages/vue-sample && pnpm startAdd enableCache: true to the plugin configuration to cache OIDC discovery metadata in session
storage. Caching is disabled by default.
app.use(createLogto, {
endpoint: 'https://your-tenant.logto.app',
appId: 'your-app-id',
enableCache: true,
});