Skip to content

How can I avoid this error 'ERR_INVALID_ARG_TYPE'? #32

Description

@jasp402

I am using Ant.Design Pro V4
according to what I have read in the documentation a configuration file is all that is required.

//themePluginConfig.js

export default {
   theme: [
       {
         fileName: 'theme1.css',
         key: 'theme1',
         modifyVars: {
           '@ primary-color': '# 13C2C2',
           '@ menu-dark-color': '# 324444',
           '@ menu-dark-bg': '# 5A5A5A',
         },
       },
     {
       fileName: 'theme2.css',
       key: 'theme2',
       modifyVars: {
         '@ primary-color': '# 4992BF',
         '@ menu-dark-color': '# 9B9B9B',
         '@ menu-dark-bg': '# 3A3A3A',
       },
     },
   ],
};

image
I would really appreciate if someone could help me
Thanks you!

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