chore: migrate and structure cmbone project
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { createRouter, createWebHashHistory} from 'vue-router'
|
||||
import MainPage from '../components/Main/Index.vue'
|
||||
import SecondPage from '../pages/Home/Index.vue'
|
||||
|
||||
const routes = [
|
||||
{ path: '/', component: MainPage },
|
||||
{ path: '/second', component: SecondPage }
|
||||
]
|
||||
|
||||
export default createRouter({
|
||||
history: createWebHashHistory(), // Use createWebHashHistory for hash-based routing
|
||||
routes
|
||||
})
|
||||
Reference in New Issue
Block a user