Skip to content

Partial static render for gradually shifting from traditional ssr web server to SPA #10832

Closed
@AlanYiNew

Description

@AlanYiNew

What problem does this feature solve?

Currently I am trying to shift an existing website written in Django, a server side render web server written in python, to vue. I have already used prerender plugin to compile the SPA, but I have to use the generated static html files as template to the Django server, which means partials of the element is already rendered by the server and I don't want this portion to be affected (or controled) by vue. Since vue will replace this portion (, which is generated by Django) with the virtual DOM info generated when building the SPA with prerender plugin, so I am asking if there is a way that stop vue from updating some parts of the SPA or component and just keep those fraction as same as what is initially sent by the server.

What does the proposed API look like?

No matter under what circustance I will not be changed

//Layout is a component

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