index.html — vue Source File
Architecture documentation for index.html, a html file in the vue codebase.
Entity Profile
Source Code
<!DOCTYPE html>
<html lang="en">
<head>
<title>Vue.js firebase + validation example</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<!-- Vue -->
<!-- Delete ".min" for console warnings in development -->
<script src="../../../dist/vue.min.js"></script>
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase.js"></script>
<!-- VueFire -->
<script src="https://unpkg.com/vuefire@1.3.0"></script>
</head>
<body>
<div id="app">
<ul is="transition-group">
<li v-for="user in users" class="user" :key="user['.key']">
<span>{{user.name}} - {{user.email}}</span>
<button v-on:click="removeUser(user)">X</button>
</li>
</ul>
<form id="form" v-on:submit.prevent="addUser">
<input v-model="newUser.name" placeholder="Add Name">
<input v-model="newUser.email" placeholder="Add Email">
<input type="submit" value="Add User">
</form>
<ul class="errors">
<li v-show="!validation.name">Name cannot be empty.</li>
<li v-show="!validation.email">Please provide a valid email address.</li>
</ul>
</div>
<script src="app.js"></script>
</body>
</html>
Source
Frequently Asked Questions
What does index.html do?
index.html is a source file in the vue codebase, written in html.
Where is index.html in the architecture?
index.html is located at examples/classic/firebase/index.html (directory: examples/classic/firebase).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free