12345678910111213141516171819202122232425262728 |
- const { defineConfig } = require('@vue/cli-service')
- const path = require('path')
- const themePath = path.resolve(__dirname,'./src/styles/theme.less')
- module.exports = defineConfig({
- transpileDependencies: true,
- css: {
- loaderOptions: {
- less: {
-
- lessOptions: {
- modifyVars: {
-
- 'text-color': '#111',
- 'border-color': '#eee',
-
-
-
-
- hack: `true; @import "${themePath}";`,
- },
- },
- },
- },
- },
- })
|