The open source simple and complete warehouse management system is derived from our many years of experience in implementing erp projects. We stripped the original commercial system wms function and opened it up for free, hoping to help the majority of small and medium-sized enterprises. At present, the system supports cross-platform。
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue()
],
resolve: {
alias: {
// 配置别名指向src目录
'@': resolve(__dirname, 'src'),
'vue-i18n': 'vue-i18n/dist/vue-i18n.cjs.js'
},
// 使用别名的文件后缀
extensions: ['.js', '.json', '.ts']
},
css: {
preprocessorOptions: {
less: {
javascriptEnabled: true
}
}
},
// ...其他配置项
optimizeDeps: {
include: ['jquery']
}
})