Skip to content

update example server conf to include VUE_ENV config #218

Open
@LinusBorg

Description

@LinusBorg

See vuejs/vue#9232 (comment)

When using a bundleRenderer, we have to make webpack pass the VUE_ENV env variable to the app with a DefinePlugin to actually make Vue.prototype.$isServer work.

The hackernews example repo does this, but in the docs we don't mention it anywhere.

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