-
Notifications
You must be signed in to change notification settings - Fork 108
/
.fes.predev.js
92 lines (91 loc) · 2.92 KB
/
.fes.predev.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*
* @Description:
* @Version: 1.668
* @Autor: 地虎降天龙
* @Date: 2023-10-16 10:53:09
* @LastEditors: 地虎降天龙
* @LastEditTime: 2024-08-14 10:58:20
*/
import { defineBuildConfig } from '@fesjs/fes'
import addExtraScriptPlugin from './src/common/addExtraScriptPlugin'
export default defineBuildConfig({
layout: {
title: 'TvT.js',
navigation: 'top',
multiTabs: false,
isFixedHeader: true,
logo: 'logo.png',
menus: [
{
name: 'preview',
path: '/',
title: '📀 预览演示',
},
{
path: 'https://gitee.com/ice-gl/icegl-three-vue-tres',
title: '📜 源码地址',
},
{
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://www.bilibili.com/video/BV1LH4y1p7Yn',
title: '📀 TvT视频教程',
},
{
path: 'https://www.icegl.cn/tvtstore',
title: '🧩 插件市场',
},
{
path: 'https://icegl.cn/',
title: '🧊 ICEGL官网',
},
{
title: '👨🏫 课程中心',
children: [
{
path: 'https://icegl.cn/courses',
title: '🌁 WebGL初/中/高级教程',
},
{
path: 'https://www.bilibili.com/video/BV1iR4y1C7LQ/',
title: '🏙 WebGL Shader初级教程',
},
{
path: 'http://m.study.163.com/provider/480000002303414/index.htm?share=2&shareId=480000002303414',
title: '🌇 WebGL Shader中级教程',
},
],
},
{
path: 'https://icegl.cn/ask',
title: '🙋♀️ 社区问答',
},
{
path: 'https://icegl.cn/p/aboutus',
title: '💫 关于我们',
},
],
},
viteOption: {
plugins: [addExtraScriptPlugin()],
},
})