保存进度!
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2022-11-22 17:50:49
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2022-11-29 17:50:22
|
||||
* @LastEditTime: 2022-12-02 16:59:09
|
||||
* @FilePath: \hello-cli\src\App.vue
|
||||
* @Description:
|
||||
*
|
||||
|
18
入门/cli/hello-cli/src/router/index.js
Normal file
18
入门/cli/hello-cli/src/router/index.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* @Author: Kane
|
||||
* @Date: 2022-12-02 16:09:08
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2022-12-02 16:21:00
|
||||
* @FilePath: \hello-cli\src\router\index.js
|
||||
* @Description: 设置路由
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
import { createRouter, createWebHashHistory } from "vue-router";
|
||||
|
||||
const routes = [{ path: "/", component: undefined }];
|
||||
|
||||
export default createRouter({
|
||||
history: createWebHashHistory(),
|
||||
routes: routes,
|
||||
});
|
Reference in New Issue
Block a user