Skip to content

nuxt db generate doesn't detect the buildDir configuration #907

Description

@uAtomicBoolean

Describe the bug
I set a custom build directory using the buildDir option in the configuration, but the nuxt db generate still checks for .nuxt instead of the new directory (nuxt-build in my case).

Steps to reproduce

  1. Add the buildDir option in the configuration with a custom path.
  2. Create a schema for the database.
  3. Run nuxt db generate.

Expected behavior
The command should detect the configuration and use the custom path instead of the default one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions