feat: Sidebar in vue

This commit is contained in:
Faris Ansari
2018-08-26 22:20:16 +05:30
parent d37108d18e
commit f089dad7c7
5 changed files with 116 additions and 87 deletions

View File

@@ -12,6 +12,7 @@ import Search from './pages/Search.vue';
import PublishedProducts from './pages/PublishedProducts.vue';
import Buying from './pages/Buying.vue';
import BuyingMessages from './pages/BuyingMessages.vue';
import NotFound from './pages/NotFound.vue';
const route_map = {
'marketplace/home': Home,
@@ -74,6 +75,10 @@ export default {
}
}
if (!route) {
return NotFound;
}
return route_map[route];
}
}