Skip to content

pages mounted more than once when using customized layout other than default. #1710

@dreambo8563

Description

@dreambo8563
  1. using starter template
  2. create a new layout
  3. using your layout in one page, console log sth in mounted.
    you will see the log twice
    remove the layout prop(using default), only mounted once
This question is available on Nuxt.js community (#c1533)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions