新增前端vue
This commit is contained in:
18
web-vue/packages/vite/options/css.ts
Normal file
18
web-vue/packages/vite/options/css.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
|
||||
* No deletion without permission, or be held responsible to law.
|
||||
* @author ThinkGem
|
||||
*/
|
||||
import type { CSSOptions } from 'vite';
|
||||
import { generateModifyVars } from '../theme/modifyVars';
|
||||
|
||||
export function createCSSOptions(): CSSOptions {
|
||||
return {
|
||||
preprocessorOptions: {
|
||||
less: {
|
||||
modifyVars: generateModifyVars(),
|
||||
javascriptEnabled: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user