Skip to content

Unable to resolve custom scheme on nuxt start? #1299

@kan01234

Description

@kan01234

i am following this guide to add custom scheme
https://auth.nuxtjs.org/guide/scheme

nuxt.config.js

  auth: {
    strategies: {
      customStrategy: {
        scheme: '~/schemes/customScheme',
...

but when I run nuxt build and start, it return error

Error: Cannot resolve "~/schemes/customScheme" from "/src/pj/schemes/customScheme"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions