Skip to content

Make context available on $nuxt #652

@buhrmi

Description

@buhrmi

Nuxt is picking up and some vue plugins (mine for example) would like to know if they're being run inside nuxt and change their behavior accordingly. Since the context object provides necessary info (headers, request params) usually taken from the browser, it would be nice to have the context object available as vm.$nuxt.context

This question is available on Nuxt.js community (#c565)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions