Skip to content

Instantly share code, notes, and snippets.

@considine
Created August 24, 2018 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save considine/a285c95dbdce3240a1d67fdce5ef9903 to your computer and use it in GitHub Desktop.
Save considine/a285c95dbdce3240a1d67fdce5ef9903 to your computer and use it in GitHub Desktop.
// Parse initialization above
Vue.component('login-component', {
template: '<div class="signin-wrapper text-center"> \
<form class="form-signin"> \
<h1 class="h3 mb-3 font-weight-normal">Please sign in</h1> \
<label for="inputEmail" class="sr-only">Email address</label> \
<input type="email" id="inputEmail" class="form-control" placeholder="Email address" required="" autofocus=""> \
<label for="inputPassword" class="sr-only">Password</label> \
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required=""> \
<button class="btn btn-lg btn-primary btn-block" type="button">Sign in</button> \
<p class="mt-5 mb-3 text-muted">© 2017-2018</p> \
</form> \
</div>'
})
// Vue initialization / mounting below
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment