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