diff --git a/.fes.js b/.fes.js
index af9e3f27..10c1476e 100644
--- a/.fes.js
+++ b/.fes.js
@@ -4,7 +4,7 @@
* @Autor: 地虎降天龙
* @Date: 2023-10-16 10:53:09
* @LastEditors: 地虎降天龙
- * @LastEditTime: 2023-11-17 09:11:22
+ * @LastEditTime: 2023-12-04 19:44:27
*/
// import { resolve } from 'path';
import { join } from 'path';
@@ -14,6 +14,7 @@ import UnoCSS from 'unocss/vite';
// import glsl from 'vite-plugin-glsl';
export default defineBuildConfig({
+ title: 'TvT.js',
publicPath: './',
access: {
roles: {
diff --git a/.fes.predev.js b/.fes.predev.js
index beafdba8..904deb60 100644
--- a/.fes.predev.js
+++ b/.fes.predev.js
@@ -4,13 +4,13 @@
* @Autor: 地虎降天龙
* @Date: 2023-10-16 10:53:09
* @LastEditors: 地虎降天龙
- * @LastEditTime: 2023-11-16 15:22:17
+ * @LastEditTime: 2023-12-04 19:54:44
*/
import { defineBuildConfig } from '@fesjs/fes';
export default defineBuildConfig({
layout: {
- title: 'Icegl',
+ title: 'TvT.js',
navigation: 'top',
multiTabs: false,
isFixedHeader: true,
@@ -19,7 +19,58 @@ export default defineBuildConfig({
{
name: 'preview',
path: '/',
- title: '开源框架展示'
+ title: '📀 预览演示'
+ },
+ {
+ // name: 'docs',
+ // path: 'http://docs.icegl.cn',
+ title: '📚 说明文档',
+ children: [
+ {
+ path: 'http://docs.icegl.cn',
+ title: '🧊 TvT框架文档'
+ }, {
+ path: 'https://threejs.org/docs/index.html#manual/zh/introduction/Creating-a-scene',
+ title: '🎲 three.js'
+ }, {
+ path: 'https://tresjs.org/guide/',
+ title: '⚡ tres.js'
+ }, {
+ path: 'https://fesjs.mumblefe.cn/',
+ title: '💠 fes.js'
+ },
+ ]
+ },
+ {
+ path: 'https://icegl.cn/',
+ title: '🧊 ICEGL官网'
+ },
+ {
+ path: 'https://space.bilibili.com/410503457',
+ title: '🅱️ B站主页'
+ },
+ {
+ title: '👨🏫 课程中心',
+ children: [
+ {
+ path: 'https://icegl.cn/courses',
+ title: '🌁 WebGL初/中/高级教程'
+ }, {
+ path: 'https://www.bilibili.com/video/BV1iR4y1C7LQ/',
+ title: '🏙 WebGL Shader初级教程'
+ }, {
+ path: 'https://study.163.com/course/introduction/1213599804.htm?inLoc=ss_ssjg_tjlb_webgl&share=1&shareId=1033552384',
+ title: '🌇 WebGL Shader中级教程'
+ },
+ ]
+ },
+ {
+ path: 'https://icegl.cn/ask',
+ title: '🙋♀️ 社区问答'
+ },
+ {
+ path: 'https://icegl.cn/p/aboutus',
+ title: '💫 关于我们'
}
],
},
diff --git a/src/models/user.js b/src/models/user.js
index c1bb3789..89c74422 100644
--- a/src/models/user.js
+++ b/src/models/user.js
@@ -4,7 +4,7 @@
* @Autor: 地虎降天龙
* @Date: 2023-10-21 15:34:19
* @LastEditors: 地虎降天龙
- * @LastEditTime: 2023-10-23 09:51:35
+ * @LastEditTime: 2023-12-04 19:35:08
*/
import { reactive } from 'vue';
import { access } from '@fesjs/fes';
@@ -15,7 +15,7 @@ export default function userModel () {
const signin = () => {
// todo
const { setRole } = access;
- user.userName = '地虎降天龙';
+ user.userName = '';
setRole('admin');
};
diff --git a/src/plugins/preview.vue b/src/plugins/preview.vue
index 1899ccea..6d637127 100644
--- a/src/plugins/preview.vue
+++ b/src/plugins/preview.vue
@@ -4,7 +4,7 @@
* @Autor: 地虎降天龙
* @Date: 2023-11-18 22:17:49
* @LastEditors: 地虎降天龙
- * @LastEditTime: 2023-11-29 08:54:48
+ * @LastEditTime: 2023-12-04 19:34:10
-->