1 Star 0 Fork 239

MokkaTimo / threejs 3d模型可视化编辑器

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 816 Bytes
一键复制 编辑 原始数据 按行查看 历史
答案 提交于 2024-01-09 22:46 . fix:代码嵌入功能bug修复
const { defineConfig } = require('@vue/cli-service')
const publicPath = process.env.NODE_ENV =='production'? '/three.js3d/':'/'
module.exports = defineConfig({
transpileDependencies: true,
publicPath,
lintOnSave: false,
assetsDir: 'static',
productionSourceMap: false,
pages: {
index: {
entry: 'src/main.js',
template: 'public/index.html',
filename: 'index.html',
},
preview: {
entry: 'src/main.js',
template: 'public/preview.html',
filename: 'preview.html',
},
modelIframe: {
entry: 'src/main.js',
template: 'public/modelIframe.html',
filename: 'modelIframe.html',
},
modelBase: {
entry: 'src/main.js',
template: 'public/modelBase.html',
filename: 'modelBase.html',
},
},
devServer: {
},
})
JavaScript
1
https://gitee.com/timo/Three.js3D.git
git@gitee.com:timo/Three.js3D.git
timo
Three.js3D
threejs 3d模型可视化编辑器
master

搜索帮助