cc物流系统V5
This commit is contained in:
18
Logistics/V5/web/src/router/index.js
Normal file
18
Logistics/V5/web/src/router/index.js
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user