Skip to content

.env.dev file is not working in nuxt plugin #73

@ChoWonmin

Description

@ChoWonmin

Hello.

.env.dev file is not working in nuxt plugin.

i created .env.dev file and run script "nuxt --dotenv .env.dev".
print env variable in my custom nuxt plugin.
console.log(process.env) #output :: {}

But .env file is working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions