You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'll also need to implement basic router functionality as petite-vue doesn't have it. At its core, this just means making the hash reactive. This ought to work:
init() {
// Set initial hash value from URL
this.hash = window.location.hash || '#home';
// Listen for hash changes
window.addEventListener('hashchange', () => {
this.hash = window.location.hash;
});
},
The text was updated successfully, but these errors were encountered:
The time has come:
master...leon-wbr:hitch:master
We'll also need to implement basic router functionality as petite-vue doesn't have it. At its core, this just means making the hash reactive. This ought to work:
The text was updated successfully, but these errors were encountered: