1 Star 0 Fork 18

ForeverAct / TinyLayer

forked from FeCoder / TinyLayer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vite.config.js 423 Bytes
一键复制 编辑 原始数据 按行查看 历史
FeCoder 提交于 2023-04-23 16:43 . update to 2.2.0
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
export default () => defineConfig( {
plugins: [
vue()
],
resolve: {
alias: {
"@": fileURLToPath( new URL( "./src", import.meta.url ) )
}
},
base: "/",
clearScreen: true,
server: {
host: "0.0.0.0",
port: 1133,
https: false,
strictPort: false,
open: false,
cors: true
}
} )
JavaScript
1
https://gitee.com/ForeverAct/tinylayer.git
git@gitee.com:ForeverAct/tinylayer.git
ForeverAct
tinylayer
TinyLayer
master

搜索帮助