Skip to content

Get code from a slot. #50

@Decipher

Description

@Decipher

As a user I want the ability to wrap my code with a the vue-live component so it's code readable but still works.

Currently I have to set my code to a prop, which results in this:

<vue-live :code="`<un-readable nested-props='{ tooMuch: true }' />`" />

When it would be much nicer to write it like this:

<vue-live>
  <read-able
    :clean="true"
  />
</vue-live>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions