Currently the login system is spread across 2 Vue instances and a component. This happened because the involved elements are in very separate selectors. This makes it very confusing and hard for them to interact with each other. Not to mention hacky implementations like using jQuery to slap some hardcoded html into an element.
I would love to make this one app with a few components potentially. And it can react to whether or not the user is logged in. This might be difficult without a wrapper around all of the UI, though that'd be less than ideal. I think there might be some weirdness if a cheeky person deletes their local storage, but the server still thinks they're logged in.
Currently the login system is spread across 2 Vue instances and a component. This happened because the involved elements are in very separate selectors. This makes it very confusing and hard for them to interact with each other. Not to mention hacky implementations like using jQuery to slap some hardcoded html into an element.
I would love to make this one app with a few components potentially. And it can react to whether or not the user is logged in. This might be difficult without a wrapper around all of the UI, though that'd be less than ideal. I think there might be some weirdness if a cheeky person deletes their local storage, but the server still thinks they're logged in.