Denoder / nuxt-module-alternatives

Alternative modules to use while waiting for Nuxt 3 Compatibility
MIT License
144 stars 14 forks source link

Custom Scheme Auth #109

Closed Duboox closed 2 years ago

Duboox commented 2 years ago

Environment

Reproduction

Im trying to implement a custom scheme in auth module, however, when I'm trying to import the LocalScheme to extend it, I get and import error

import { LocalScheme } from "@nuxtjs-alt/auth/dist/runtime/schemes/local"; Screenshot 2022-11-02 114150

I would like to know if someone could manage to create a custom scheme or how I can import the LocalScheme to extend it

Describe the bug

Im trying to implement a custom scheme in auth module, however, when I'm trying to import the LocalScheme to extend it, I get and import error

import { LocalScheme } from "@nuxtjs-alt/auth/dist/runtime/schemes/local"; Screenshot 2022-11-02 114150

I would like to know if someone could manage to create a custom scheme or how I can import the localScheme to extend it

Additional context

No response

Logs

No response

Denoder commented 2 years ago

import from #auth/runtime

Duboox commented 2 years ago

import from #auth/runtime

it works! thanks a lot