Skip to content

Playground warning while running SSR  #9445

Open

Activity

linzhe141

linzhe141 commented on Feb 20, 2024

@linzhe141
Contributor

This is a bug of @vue/repl. When repl performs ssr in the online environment, import { useModel as _useModel } from 'vue' will use the *runtime.esm-browser.js file, but in the dev environment it will The *rutime-dom.esm-bundler.js file is used, so there is no problem with the dev environment

image
image
image


The processing of these two file formats for SSR is different. So ssr bug will appear in the online environment.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @pikax@linzhe141

        Issue actions

          Playground warning while running SSR · Issue #9445 · vuejs/core