major refactors

This commit is contained in:
geoffrey45
2022-03-30 14:56:40 +03:00
parent 1a19fb61cd
commit 0c1e792839
21 changed files with 164 additions and 322 deletions
+5
View File
@@ -12,6 +12,7 @@ import SettingsView from "../views/SettingsView.vue";
import usePStore from "../stores/playlists";
import usePTrackStore from "../stores/p.ptracks";
import useFStore from "../stores/folder";
const routes = [
{
@@ -23,6 +24,10 @@ const routes = [
path: "/folder/:path",
name: "FolderView",
component: FolderView,
beforeEnter: async (to) => {
console.log("beforeEnter")
await useFStore().fetchAll(to.params.path);
},
},
{
path: "/folder/",