Last active
April 9, 2018 22:33
-
-
Save profh/05cf993d5c2dcc03c03d3e054c9d99b3 to your computer and use it in GitHub Desktop.
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>Vue.js Demos</title> | |
<script type="text/javascript" src="https://unpkg.com/vue@2.5.9/dist/vue.js"></script> | |
</head> | |
<body> | |
<div id="main"> | |
<p>Within main div...</p> | |
<!-- stuff goes here --> | |
</div> | |
<p>Nothing happening outside of main div...</p> | |
<script> | |
// very basic Vue instance created | |
new Vue({ | |
el: '#main' | |
}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment