1 Star 0 Fork 1

Zxianping/xcTable

forked from 流年岁月/xcTable 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts.timestamp-1729143516520-dd5dc99ca9009.mjs 3.92 KB
一键复制 编辑 原始数据 按行查看 历史
流年岁月 提交于 2024-10-17 13:41 . 增加ts类型
// vite.config.ts
import { defineConfig } from "file:///E:/web/xc-table/node_modules/vite/dist/node/index.js";
import { resolve } from "node:path";
import vue from "file:///E:/web/xc-table/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///E:/web/xc-table/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///E:/web/xc-table/node_modules/unplugin-vue-components/dist/vite.js";
import { VantResolver } from "file:///E:/web/xc-table/node_modules/@vant/auto-import-resolver/dist/index.esm.mjs";
import vueJsx from "file:///E:/web/xc-table/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
function pathResolve(dir) {
return resolve(process.cwd(), ".", dir);
}
var vite_config_default = defineConfig({
plugins: [
vue(),
vueJsx(),
AutoImport({
resolvers: [VantResolver()]
}),
Components({
resolvers: [VantResolver()],
directoryAsNamespace: true
})
],
resolve: {
alias: [
// @/xxxx => src/xxxx
{
find: /\@\//,
replacement: `${pathResolve("src")}/`
}
]
},
css: {
preprocessorOptions: {
less: {
javascriptEnabled: true
}
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFx3ZWJcXFxceGMtdGFibGVcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkU6XFxcXHdlYlxcXFx4Yy10YWJsZVxcXFx2aXRl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FBO0FBQUEsTUFFTDtBQUFBLFFBQ0UsTUFBTTtBQUFBLFFBQ04sYUFBYSxHQUFHLFlBQVksS0FBSyxDQUFDO0FBQUEsTUFDcEM7QUFBQSxJQUNGO0FBQUEsRUFDRjtBQUFBLEVBQ0EsS0FBSztBQUFBLElBQ0gscUJBQXFCO0FBQUEsTUFDbkIsTUFBTTtBQUFBLFFBQ0osbUJBQW1CO0FBQUEsTUFDckI7QUFBQSxJQUNGO0FBQUEsRUFDRjtBQUNGLENBQUM7IiwKICAibmFtZXMiOiBbXQp9Cg==
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/Zxianping/xc-table.git
git@gitee.com:Zxianping/xc-table.git
Zxianping
xc-table
xcTable
master

搜索帮助