Variable Name Error “is undefined” even though “variables.less” imported

前端 未结 10 2020
清歌不尽
清歌不尽 2020-12-08 18:41

I started using LESS today. But it\'s kinda weird. This code does not work. I get an error:

! Variable Name Error: @linkColor in a is undefined.
10条回答
  •  佛祖请我去吃肉
    2020-12-08 19:11

    For me its happened when using @Import-once and nothing help. but with @Import its worked.

    as i read in the last version of the Less the Import will work as Import-once.

提交回复
热议问题