Created
September 13, 2023 03:01
-
-
Save YonatanKra/5bea46eff0e01a58712716511f8487fb to your computer and use it in GitHub Desktop.
Tauri-demo: using Vivid to simplify the template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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