Created
May 9, 2024 03:35
-
-
Save wescpy/fa9f5ea07aaef1a73660ae4c5ba9ca1a to your computer and use it in GitHub Desktop.
Vue.js "Hello World" sample generated by Gemini
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello Vue!</title> | |
<script src="https://unpkg.com/vue@3"></script> | |
</head> | |
<body> | |
<div id="app"> | |
{{ message }} | |
</div> | |
<script> | |
const { createApp } = Vue; | |
createApp({ | |
data() { | |
return { | |
message: "Hello from Vue.js!" | |
}; | |
} | |
}).mount('#app'); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment