Skip to content

Instantly share code, notes, and snippets.

@YonatanKra
Created September 13, 2023 03:01
Show Gist options
  • Save YonatanKra/5bea46eff0e01a58712716511f8487fb to your computer and use it in GitHub Desktop.
Save YonatanKra/5bea46eff0e01a58712716511f8487fb to your computer and use it in GitHub Desktop.
Tauri-demo: using Vivid to simplify the template
import '@vonage/vivid/button';
import '@vonage/vivid/text-field';
export const template = `
<form class="row" id="greet-form" name="greet-form">
<vwc-text-field id="greet-input"
placeholder="Enter a name..."></vwc-text-field>
<vwc-button type="submit"
label="Greet"
appearance="outlined"></vwc-button>
</form>
<p id="greet-msg"></p>
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment