fix: 修复文件编码问题,确保导入语句格式正确
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
// 从 package.json 注入版本号,便于前端展示
|
||||
// 从 package.json 注入版本号,供前端设置页展示。
|
||||
// eslint-disable-next-line no-undef
|
||||
const appVersion = (process && process.env && process.env.npm_package_version) || '0.0.0'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
define: {
|
||||
|
||||
Reference in New Issue
Block a user