第1个回答 推荐于2016-04-06
//根据需求自行修改
<html lang="en" data-framework="backbonejs">
<head>
<meta charset="utf-8">
<title>Backbone.js + RequireJS • TodoMVC</title>
<link rel="stylesheet" href="bower_components/todomvc-common/base.css">
<script src="bower_components/todomvc-common/base.js"></script>
</head>
<body>
<section id="todoapp">
<header id="header">
<h1>项目</h1>
<input id="new-todo" placeholder="需要做什么?" autofocus>
</header>
<section id="main">
<input id="toggle-all" type="checkbox">
<label for="toggle-all">所有标记为完成</label>
<ul id="todo-list"></ul>
</section>
<footer id="footer"></footer>
</section>
<script data-main="js/main" src="bower_components/requirejs/require.js"></script>
</body>
</html>本回答被提问者和网友采纳