Cleanup unsed files and configs (#67)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com> Reviewed-on: Georgi_Lab/ALVINN_f7#67
This commit is contained in:
@@ -4,7 +4,6 @@ import AboutPage from '../pages/about.vue';
|
||||
import SettingsPage from '../pages/settings.vue';
|
||||
import DetectPage from '../pages/detect.vue';
|
||||
|
||||
import DynamicRoutePage from '../pages/dynamic-route.vue';
|
||||
import NotFoundPage from '../pages/404.vue';
|
||||
|
||||
var routes = [
|
||||
@@ -24,12 +23,6 @@ var routes = [
|
||||
path: '/settings/',
|
||||
component: SettingsPage,
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
path: '/dynamic-route/blog/:blogId/post/:postId/',
|
||||
component: DynamicRoutePage,
|
||||
},
|
||||
{
|
||||
path: '(.*)',
|
||||
component: NotFoundPage,
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<template>
|
||||
<f7-page>
|
||||
<f7-navbar title="Dynamic Route" back-link="Back"></f7-navbar>
|
||||
<f7-block strong inset>
|
||||
<ul>
|
||||
<li><b>Url:</b> {{ f7route.url }}</li>
|
||||
<li><b>Path:</b> {{ f7route.path }}</li>
|
||||
<li><b>Hash:</b> {{ f7route.hash }}</li>
|
||||
<li>
|
||||
<b>Params:</b>
|
||||
<ul>
|
||||
<li v-for="(value, key) in f7route.params" :key="key">
|
||||
<b>{{ key }}:</b> {{ value }}
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>Query:</b>
|
||||
<ul>
|
||||
<li v-for="(value, key) in f7route.query" :key="key">
|
||||
<b>{{ key }}:</b> {{ value }}
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><b>Route:</b> {{ f7route.route.path }}</li>
|
||||
</ul>
|
||||
</f7-block>
|
||||
<f7-block strong inset>
|
||||
<f7-link @click="f7router.back()">Go back via Router API</f7-link>
|
||||
</f7-block>
|
||||
</f7-page>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
f7route: Object,
|
||||
f7router: Object,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user