Skip to content

please advice on migration to CSS-in-JS with ant v4 #7330

@igorfraa

Description

@igorfraa
  • [ yes ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

I've setup my vue.config.ts as per migration documentation.
I have a simple snippet for style override:

@import "~ant-design-vue/lib/input/style/index.less";

.ant-input-not-disabled:disabled {
.ant-input;
}

How should it look with new ant? Importing from "ant-design-vue/lib/input/style/index.js" obscurely fails despite
javascriptEnabled: true, in loader config

Module build failed (from ./node_modules/less-loader/dist/cjs.js):
"use strict";
^
Unrecognised input

What does the proposed API look like?

A bit of helper documentation would be fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions