1 Star 0 Fork 0

小葱伴逗虎 / DateCalculator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vite.config.js 413 Bytes
一键复制 编辑 原始数据 按行查看 历史
小葱伴逗虎 提交于 2023-01-23 11:03 . fix:修改样式引入方式
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
base: './',
resolve: {
// 使文件引入不必含后缀
extensions: [".vue", ".js", "jsx", "ts", "tsx"],
alias: {
"@": fileURLToPath(new URL("./src/", import.meta.url)),
},
},
});
1
https://gitee.com/cccoding365/date-calculator.git
git@gitee.com:cccoding365/date-calculator.git
cccoding365
date-calculator
DateCalculator
master

搜索帮助