18 lines
392 B
JavaScript
18 lines
392 B
JavaScript
import { createRouter, createWebHistory } from 'vue-router';
|
|
import BlueprintEditorView from '@/views/BlueprintEditorView.vue';
|
|
|
|
const routes = [
|
|
{
|
|
path: '/blueprint-editor',
|
|
name: 'BlueprintEditor',
|
|
component: BlueprintEditorView
|
|
},
|
|
// 其他路由...
|
|
];
|
|
|
|
const router = createRouter({
|
|
history: createWebHistory(process.env.BASE_URL),
|
|
routes
|
|
});
|
|
|
|
export default router; |