Skip to content

How to setup SSR when using vue-cli? #107

@svihpinc

Description

@svihpinc

I've used create-single-spa to generate a vue-cli based vue@2 project.

In the react example of single-spa SSR here: navbar webpack config, webpack is used to create a server.mjs file, which is then imported by root-config and server rendered

How to do this in a vue-cli project? How to setup webpack to bundle for node target too?

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