mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-03-16 22:10:27 +00:00
Add empty page for changelogs
This commit is contained in:
parent
d93aa2e834
commit
42da5df7fc
3 changed files with 23 additions and 0 deletions
|
|
@ -130,6 +130,10 @@
|
|||
</md-list-expand>
|
||||
</md-list-item>
|
||||
|
||||
<md-list-item>
|
||||
<router-link to="/changelog">Changelog</router-link>
|
||||
</md-list-item>
|
||||
|
||||
<md-list-item>
|
||||
<router-link to="/about">About</router-link>
|
||||
</md-list-item>
|
||||
|
|
|
|||
13
src/docs/pages/Changelog.vue
Normal file
13
src/docs/pages/Changelog.vue
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<template>
|
||||
<section>
|
||||
<h1>Changelog</h1>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
mounted() {
|
||||
this.$root.pageTitle = 'Changelog';
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
import Introduction from './pages/Introduction';
|
||||
import GettingStarted from './pages/GettingStarted';
|
||||
import About from './pages/About';
|
||||
import Changelog from './pages/Changelog';
|
||||
import Error404 from './pages/Error';
|
||||
|
||||
/* Components */
|
||||
|
|
@ -47,6 +48,11 @@ const main = [
|
|||
path: '/about',
|
||||
name: 'about',
|
||||
component: About
|
||||
},
|
||||
{
|
||||
path: '/changelog',
|
||||
name: 'changelog',
|
||||
component: Changelog
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue