rename page components
This commit is contained in:
parent
2ccdb30e8c
commit
d35527ef3b
|
@ -1,6 +1,6 @@
|
||||||
import { createRouter, createWebHashHistory } from 'vue-router'
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
||||||
import Home from './page/Home.vue'
|
import HomePage from './page/HomePage.vue'
|
||||||
import About from './page/About.vue'
|
import AboutPage from './page/AboutPage.vue'
|
||||||
|
|
||||||
// const APP_BASE_URL = '/'
|
// const APP_BASE_URL = '/'
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ const routes = [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: Home,
|
component: HomePage,
|
||||||
meta: {
|
meta: {
|
||||||
title: 'Generator - OG:IMAGE'
|
title: 'Generator - OG:IMAGE'
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ const routes = [
|
||||||
{
|
{
|
||||||
path: '/about',
|
path: '/about',
|
||||||
name: 'About',
|
name: 'About',
|
||||||
component: About,
|
component: AboutPage,
|
||||||
meta: {
|
meta: {
|
||||||
title: 'About'
|
title: 'About'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue