logto icon indicating copy to clipboard operation
logto copied to clipboard

bug: Error: Must install Logto plugin first

Open muei opened this issue 1 year ago • 0 comments

Create the project by quasar, the info as below:

Operating System - Linux(5.15.133.1-microsoft-standard-WSL2) - linux/x64
NodeJs - 20.10.0

Global packages
  NPM - 10.2.3
  yarn - Not installed
  @quasar/cli - 2.3.0
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages
  quasar - 2.14.1 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.7.0 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.16.9 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.3.9 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.2.5
  pinia - 2.1.7 -- Intuitive, type safe and flexible Store for Vue
  vuex - Not installed
  vite - 2.9.16 -- Native-ESM powered web dev build tool
  eslint - 8.54.0 -- An AST-based pattern checker for JavaScript.
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

And integrate the @logto/vue follow the docs, but errors on browser:

 [Vue warn]: injection "@logto/vue" not found. 

and

Uncaught (in promise) Error: Must install Logto plugin first.

I am sure I install the @logo/vue again and again by pnpm i @logo/vue, and version is

  "dependencies": {
    "@logto/vue": "^2.1.1",

muei avatar Dec 15 '23 04:12 muei