@logto/vue

46,609 98
Install
npm install @logto/vue
Latest Version:3.1.1
Vue:3
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: simeng_li

Logto Vue SDK

Version Build Status Codecov

The Logto Vue SDK written in TypeScript.

Check out our docs for more information.

Installation

Using npm

npm install @logto/vue

Using yarn

yarn add @logto/vue

Using pnpm

pnpm add @logto/vue

Get sample

A 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 start

Discovery cache

Add 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,
});

Resources

Website Docs Discord

Related Packages

@logto/nuxt
39,975 98

Version History

Version Released License
3.1.1 MIT
3.1.0 MIT
3.0.14 MIT
3.0.13 MIT
3.0.12 MIT
Pre-releases (19)
Version Released License
1.0.0-rc.0 MIT
1.0.0-beta.15 MIT
1.0.0-beta.14 MIT
1.0.0-beta.13 MIT
1.0.0-beta.12 MIT