📌 📄 内容摘要:
保熟的呆瓜 (@youwen) 在 请教个vue router的问题, admin分组路由鉴权如何设置 中发帖
vue routes 配置如下:
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: HomeView,
},
{
path: '/about',
name: 'about',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is ...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/886867/1
─────────────────────────────
📢 来源:LINUX DO