123456789101112131415161718192021 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Title</title>
- <link rel="stylesheet" href="3.css" />
- </head>
- <body>
- <div id="root">
- <ul>
- <li v-for="name in names" v-text="name"></li>
- </ul>
- <input id="input" type="text" />
- <button id="button">Add name</button>
- </div>
- <script src="../lib/vue-2.1.3.js"></script>
- <script src="3.js"></script>
- </body>
- </html>
|