Skip to content

Instantly share code, notes, and snippets.



Last active Aug 24, 2018
What would you like to do?
redirect to login if no user
const HomeComponent = Vue.component("home-component", {
  template : "<div> \
  <h1> Hello World! </h1> \
  mounted : function () {
    if (!Parse.User.current()) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.