Skip to content

Feature Request: Option to display only the preview without editor #290

Open
@iojanis

Description

Hello @vue/repl maintainers,

I'd like to propose a new feature for @vue/repl: an option to display only the preview without requiring the Monaco/CodeMirror editor.

Current Behavior

Currently, the editor prop is required even when we only want to show the preview. This means we need to import and pass the editor even when we don't intend to use it.

Desired Behavior

It would be beneficial to have a way to use @vue/repl solely for displaying the preview of Vue components, without the editor functionality.

Use Case

I have the source code in a different component and don't want to use the built-in Monaco editor. I need a way to display only the preview of the compiled code.

Thank you for considering this feature request :)

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