1 Star 1 Fork 589

ericiswho/icegl-three-vue-tres

forked from ICEGL/icegl-three-vue-tres 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.fes.js 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
/*
* @Description:
* @Version: 1.668
* @Autor: 地虎降天龙
* @Date: 2023-10-16 10:53:09
* @LastEditors: 地虎降天龙
* @LastEditTime: 2024-03-18 10:06:11
*/
// import { resolve } from 'path';
import { join } from 'path';
import { defineBuildConfig } from '@fesjs/fes'
import { templateCompilerOptions } from '@tresjs/core'
// eslint-disable-next-line import/no-unresolved
import UnoCSS from 'unocss/vite'
// eslint-disable-next-line import/no-extraneous-dependencies
import glsl from 'vite-plugin-glsl'
export default defineBuildConfig({
title: 'TvT.js',
publicPath: './',
access: {
roles: {
admin: ['*'],
manager: ['/'],
},
},
layout: {
navigation: null,
},
enums: {
status: [
['0', '无效的'],
['1', '有效的'],
],
},
//add by 地虎降天龙
viteVuePlugin: {
...templateCompilerOptions,
},
viteOption: {
base: "./",
plugins: [
UnoCSS({
/* options */
}),
glsl()
],
server: {
// host: "0.0.0.0",
// proxy: {
// '/cosv2': {
// target: 'https://opensource-1314935952.cos.ap-nanjing.myqcloud.com',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/cosv2/, '')
// },
// },
},
},
alias: { PLS: join(__dirname, './src/plugins') },
// { find: 'pls', replacement: resolve(__dirname, './src/plugins') },
// { '@': join(__dirname, '/src') }
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ericiswho/icegl-three-vue-tres.git
git@gitee.com:ericiswho/icegl-three-vue-tres.git
ericiswho
icegl-three-vue-tres
icegl-three-vue-tres
master

搜索帮助