Created
May 26, 2022 16:45
-
-
Save kentliau/5dccb5f4790d8feaedd5440b2c378579 to your computer and use it in GitHub Desktop.
Quick Vue and Tailwind 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
<!doctype html> | |
<html lang="en" class="h-full"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Episode 3: Lists and Computed Properties</title> | |
<script src="https://unpkg.com/vue@3"></script> | |
<script src="https://cdn.tailwindcss.com"></script> | |
</head> | |
<body class="h-full grid place-items-center"> | |
<div id="app"> | |
<app-button>Submit</app-button> | |
</div> | |
<script type="module"> | |
import AppButton from "./js/components/AppButton.js"; | |
let app = { | |
components: { | |
'app-button': AppButton | |
} | |
}; | |
Vue.createApp(app).mount('#app'); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment