Created
May 12, 2021 08:51
-
-
Save ilikerobots/fdf3b8c4983e724ca1507efb4507b10a to your computer and use it in GitHub Desktop.
string-property-passing-01
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
const selector = "#my_app_element"; | |
const mountEl = document.querySelector(selector); | |
const app = createApp(AppComponent, {...mountEl.dataset}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment