@finema/nuxt-logto
v1.0.9
Published
[![Version](https://img.shields.io/npm/v/@logto/nuxt)](https://www.npmjs.com/package/@logto/nuxt) [![Build Status](https://github.com/logto-io/js/actions/workflows/main.yml/badge.svg)](https://github.com/logto-io/js/actions/workflows/main.yml)
Downloads
12
Readme
Logto Nuxt 3 SDK
The Logto Nuxt 3 SDK written in TypeScript.
Check out our docs for more information.
Installation
Using npm
npm install @logto/nuxt
Using yarn
yarn add @logto/nuxt
Using pnpm
pnpm add @logto/nuxt
Get sample
A sample project can be found at playground.
Check out the full JS repo and try it with pnpm.
pnpm i && pnpm dev
The minimal configuration to run the playground is (use .env
file for example):
NUXT_LOGTO_ENDPOINT=<your-logto-endpoint>
NUXT_LOGTO_APP_ID=<your-logto-app-id>
NUXT_LOGTO_APP_SECRET=<your-logto-app-secret>
NUXT_LOGTO_COOKIE_ENCRYPTION_KEY=<random-string>