# threejs_exercise_vue **Repository Path**: alibi-jia/threejs_exercise_vue ## Basic Information - **Project Name**: threejs_exercise_vue - **Description**: threejs练习代码 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-25 - **Last Updated**: 2024-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: Threejs ## README # threejs练习项目 ## 环境依赖 1. naive-ui 2. vue3.3+ 3. pinia 2 4. vue-router 5. vueuse ## views目录约定 views下每一个目录必须声明一个index.ts,作为[vitejs glob api](https://vitejs.dev/guide/features.html#glob-import)扫描页面页面映射到菜单的元信息 导出内容就是vue-router的配置信息,框架会使用这些配置信息自动生成路由和菜单,如果希望菜单包含vue-router路由配置以外的信息,可以使用vue-router提供的meta信息作为作为传递给菜单的信息,比如菜单需要一个图标,储存在icon这个键中