-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-> New dashboard UI -> Search bar works -> WorkSpace MythicalUI Theme :)) -> Removed junk code -> Fixed the mobile ui -> Split the dashboard components for addons to work 😂 -> Poppins font ui :) -> Fix overscroll behavior on mac -> Fix the problem where the scrolling stays from another route!
- Loading branch information
Showing
27 changed files
with
1,274 additions
and
1,080 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
<template> | ||
<router-view></router-view> | ||
<router-view v-slot="{ Component }"> | ||
<component :is="Component" /> | ||
</router-view> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent } from 'vue'; | ||
import { useRouter } from 'vue-router'; | ||
export default defineComponent({ | ||
name: 'App', | ||
name: 'App', | ||
setup() { | ||
const router = useRouter(); | ||
router.beforeEach((to, from, next) => { | ||
window.scrollTo(0, 0); | ||
next(); | ||
}); | ||
}, | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.