Skip to content

lessVarsFilePath doesn't work #74

@Webbrother

Description

@Webbrother

Issue

I'm trying to use next-plugin-antd-less according to the documentation, but my antd variables don't work.

I'm trying to use lessVarsFilePath property (everything according to the documentation), but it just doesn't work.

How to reproduce:

Please see this repo https://github.com/Webbrother/next-plugin-antd-less-issue

yarn
then
yarn dev

I have variable in vatiables.less:

@primary-color: #ff0000; // <- this is a red color

I expect to see the red (my custom override color) button on the page, but I see the default color (blue).

How can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions