Vue.js Hello World

猫斯基  — Vue


<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="vue/vue.js"></script>
	</head>
	<body>
		<div id="maosiji">{{ message }}</div>
		
		<script>
			var mao = new Vue({
				el: '#maosiji',
				data: {
					message: 'hello world.'
				}
			})
		</script>
	</body>
</html>

Vue.js Hello World

阅读量:0 2021-05-06 15:09

返回顶部