Skip to content

Vue playground throws an error #5345

@Haroenv

Description

@Haroenv

Prettier 1.14.3
Playground link

--parser vue

Input:

<template>
  Hi!
</template>

Output:

vue@https://prettier.io/worker.js:121:32
resolveParser$1@https://prettier.io/lib/standalone.js:7392:21
normalize@https://prettier.io/lib/standalone.js:7492:32
formatWithCursor@https://prettier.io/lib/standalone.js:10885:28
format@https://prettier.io/lib/standalone.js:21142:28
formatCode@https://prettier.io/worker.js:216:27
handleMessage@https://prettier.io/worker.js:167:28
onmessage@https://prettier.io/worker.js:137:27

Expected behavior:

<template>
  Hi!
</template>

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:playgroundIssues about the playground (https://prettier.io/playground)lang:vueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions