mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-08 19:53:47 +08:00
v3.0.0
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
import { resolve } from 'path';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import customVariables from '/@/theme/custom-variables.js';
|
||||
|
||||
const pathResolve = (dir) => {
|
||||
return resolve(__dirname, '.', dir);
|
||||
@@ -77,9 +78,7 @@ export default {
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
less: {
|
||||
modifyVars: {
|
||||
hack: `true; @import (reference) "${resolve('src/theme/index.less')}";`,
|
||||
},
|
||||
modifyVars: customVariables,
|
||||
javascriptEnabled: true,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user