1 Star 0 Fork 4

ETOCODE/live-broadcast-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.js 593 Bytes
一键复制 编辑 原始数据 按行查看 历史
difai 提交于 2024-07-15 19:23 +08:00 . :
// vite.config.ts
import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import Components, { kebabCase } from '@uni-helper/vite-plugin-uni-components'
export default defineConfig({
plugins: [
Components({
resolvers: [
{
type: 'component',
resolve: (name) => {
if (name.match(/^Wd[A-Z]/)) {
const compName = kebabCase(name)
return {
name,
from: `wot-design-uni/components/${compName}/${compName}.vue`,
}
}
},
}
]
}), uni()],
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/etocode/live-broadcast-app.git
git@gitee.com:etocode/live-broadcast-app.git
etocode
live-broadcast-app
live-broadcast-app
master

搜索帮助