Skip to content

:initial style is not applied during SSG build - Vitesse #51

@Idered

Description

@Idered

Here's repro: https://github.com/Idered/vitesse-motion-ssg-bug

  <div
    v-motion
    :initial="{
      opacity: 0,
      y: 100,
    }"
    :enter="{
      opacity: 1,
      y: 0,
    }"
  >
    Motion
  </div>

is compiled to

<div>Motion</div>

but it should be

<div style="opacity: 0; transform: translateY(100px);">Motion</div>

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