清理路由配置中的注释代码
This commit is contained in:
@ -1,17 +1,5 @@
|
|||||||
import { createRouter, createWebHistory } from "vue-router";
|
import { createRouter, createWebHistory } from "vue-router";
|
||||||
import { routes } from 'vue-router/auto-routes';
|
import { routes } from 'vue-router/auto-routes';
|
||||||
// import layout from "@/Layout.vue";
|
|
||||||
// import Home from '@/views/Home.vue';
|
|
||||||
|
|
||||||
// 导入视图组件 - 修改为@开头的懒加载路径
|
|
||||||
|
|
||||||
// const Gallery = () => import("@/views/Gallery.vue");
|
|
||||||
// const Article = () => import("@/views/Article.vue");
|
|
||||||
// const Widget = () => import("@/views/Widget.vue");
|
|
||||||
// const AppShare = () => import("@/views/AppShare.vue");
|
|
||||||
// const Plink = () => import("@/views/Plink.vue");
|
|
||||||
// const Login = () => import("@/views/Login.vue");
|
|
||||||
// const NotFound = () => import("@/views/NotFound.vue");
|
|
||||||
|
|
||||||
routes.unshift({
|
routes.unshift({
|
||||||
path: "/",
|
path: "/",
|
||||||
|
Reference in New Issue
Block a user