Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

[Feat] Allow adding vue attributes and js code into elements #53

@benjie-git

Description

@benjie-git

I would love to be able to use the vuegg editor to create simple, working apps, complete with specifying data for the app / components, and adding methods and code to be executed on events.

For example, I imagine adding a variable x as data for the app, then setting an input element's v-model value to x, and adding a text element with {{ x }} as its value. And then add a button called Clear with a click handler that just runs the code x = "".

So my feature requests are:

  1. allow editing data and methods for each app / component (setting up variables)
  2. allow inspecting each element and setting values like id, v-model, v-for, v-on:click etc.

One possible implementation for this would be a 4th side panel tab after Elements, Settings, and Pages, maybe named Inspect or Code or Vue. Or as an additional section in the Settings tab, alongside General, Text, Border.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requesthelp wantedExtra attention is needed💬 discussionShare ideas on features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions