diff --git a/node_modules/.package_versions.json b/node_modules/.package_versions.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/node_modules/.package_versions.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/入门/cli/hello-cli/public/index.html b/入门/cli/hello-cli/public/index.html index 3267206..fa21b4a 100644 --- a/入门/cli/hello-cli/public/index.html +++ b/入门/cli/hello-cli/public/index.html @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2022-11-22 17:50:49 * @LastEditors: Kane - * @LastEditTime: 2022-11-29 20:32:41 + * @LastEditTime: 2022-11-30 15:08:26 * @FilePath: \hello-cli\public\index.html * @Description: * @@ -25,13 +25,14 @@ display: none; } +
diff --git a/入门/cli/hello-cli/src/App.vue b/入门/cli/hello-cli/src/App.vue index 6b1f352..14f8ca6 100644 --- a/入门/cli/hello-cli/src/App.vue +++ b/入门/cli/hello-cli/src/App.vue @@ -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: * diff --git a/入门/cli/hello-cli/src/router/index.js b/入门/cli/hello-cli/src/router/index.js new file mode 100644 index 0000000..e7e6cea --- /dev/null +++ b/入门/cli/hello-cli/src/router/index.js @@ -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, +});