Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<title>Shopping List App</title>
<link rel="stylesheet" href="main.css">
<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
</head>
<body>
<div id="shopping-list">
Expand All @@ -21,7 +22,7 @@ <h1>{{ header.toLocaleUpperCase() }}</h1>
</ul>
<p v-if="items.length === 0">Nice job! You've bought all your items.</p>
</div>
<script src="https://unpkg.com/vue"></script>

<script>
var shoppingList = new Vue({
el: '#shopping-list',
Expand Down