mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(theme): add less-loader vertion tip (#6265)
This commit is contained in:
parent
12b54e98a9
commit
a89e5f85ce
@ -75,6 +75,7 @@ module.exports = {
|
||||
{
|
||||
loader: 'less-loader',
|
||||
options: {
|
||||
// 若使用 less-loader@5,请移除 lessOptions 这一级,直接配置选项。
|
||||
lessOptions: {
|
||||
modifyVars: {
|
||||
// 直接覆盖变量
|
||||
@ -100,6 +101,7 @@ module.exports = {
|
||||
css: {
|
||||
loaderOptions: {
|
||||
less: {
|
||||
// 若使用 less-loader@5,请移除 lessOptions 这一级,直接配置选项。
|
||||
lessOptions: {
|
||||
modifyVars: {
|
||||
// 直接覆盖变量
|
||||
|
Loading…
x
Reference in New Issue
Block a user